> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidguy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an Agent plan account

> Public, rate-limited. Creates an account on the Agent plan (no subscription, 0 credits, purchased credits never expire) and returns a `vf_live_` API key once. Accounts never funded within 7 days are removed.



## OpenAPI

````yaml /openapi.json post /api/v1/agents/register
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/agents/register:
    post:
      tags:
        - Credits
      summary: Create an Agent plan account
      description: >-
        Public, rate-limited. Creates an account on the Agent plan (no
        subscription, 0 credits, purchased credits never expire) and returns a
        `vf_live_` API key once. Accounts never funded within 7 days are
        removed.
      operationId: registerAgent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentRegisterRequest'
      responses:
        '201':
          description: Account created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRegisterResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too many registrations from this address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AgentRegisterRequest:
      type: object
      properties:
        operatorEmail:
          type: string
          format: email
        operatorName:
          type: string
        billingCountry:
          type: string
          minLength: 2
          maxLength: 2
        vatId:
          type: string
        acceptTerms:
          type: boolean
          enum:
            - true
        agentName:
          type: string
      required:
        - operatorEmail
        - billingCountry
        - acceptTerms
    AgentRegisterResponse:
      type: object
      properties:
        userId:
          type: string
        plan:
          type: string
          enum:
            - agent
        credits:
          type: integer
        apiKey:
          type: string
        apiKeyNote:
          type: string
        topup:
          type: object
          properties:
            offersUrl:
              type: string
            offers:
              type: array
              items:
                $ref: '#/components/schemas/CreditsTopupOffer'
            rails:
              $ref: '#/components/schemas/CreditsTopupRails'
          required:
            - offersUrl
            - offers
            - rails
        endpoints:
          type: object
          properties:
            mcp:
              type: string
            openapi:
              type: string
            pricing:
              type: string
            credits:
              type: string
          required:
            - mcp
            - openapi
            - pricing
            - credits
        retention:
          type: string
        termsVersion:
          type: string
      required:
        - userId
        - plan
        - credits
        - apiKey
        - apiKeyNote
        - topup
        - endpoints
        - retention
        - termsVersion
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
    CreditsTopupOffer:
      type: object
      properties:
        credits:
          type: integer
        priceUsd:
          type: string
        url:
          type: string
      required:
        - credits
        - priceUsd
        - url
    CreditsTopupRails:
      type: object
      properties:
        x402:
          type: boolean
        mpp:
          type: boolean
      required:
        - x402
        - mpp
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.