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

# Create Video Agent Avatar

> Create a Video Agent (text-to-video stock-avatar) avatar config.

Ships dark behind ``avatar_video_agent_enabled`` (env
``AVATAR_VIDEO_AGENT_ENABLED``). The avatar is a curated stock preset (not
the user's likeness) so likeness consent is set deterministically + audited.



## OpenAPI

````yaml /openapi.json post /api/v1/teams/{team_id}/avatar/video-agent
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/teams/{team_id}/avatar/video-agent:
    post:
      tags:
        - Teams
      summary: Create Video Agent Avatar
      description: >-
        Create a Video Agent (text-to-video stock-avatar) avatar config.


        Ships dark behind ``avatar_video_agent_enabled`` (env

        ``AVATAR_VIDEO_AGENT_ENABLED``). The avatar is a curated stock preset
        (not

        the user's likeness) so likeness consent is set deterministically +
        audited.
      operationId: create_video_agent_avatar_api_v1_teams__team_id__avatar_video_agent_post
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoAgentAvatarRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    VideoAgentAvatarRequest:
      properties:
        avatar_name:
          type: string
          minLength: 1
          title: Avatar Name
        voice_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Voice Id
        provider:
          type: string
          const: fal-argil
          title: Provider
          default: fal-argil
        default_prompt:
          anyOf:
            - type: string
              maxLength: 5000
            - type: 'null'
          title: Default Prompt
      type: object
      required:
        - avatar_name
      title: VideoAgentAvatarRequest
      description: >-
        Create a Video Agent (text-to-video stock-avatar) avatar config.


        The avatar is a curated stock preset (NOT the user's likeness), selected
        by

        name from ``avatar_catalog.VIDEO_AGENT_AVATARS``. Phase-1 routes through
        the

        ``fal-argil`` provider (``argil/avatars/text-to-video``).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````