> ## 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.

# Generate a Seedance video or Seedream image

> Async, poll GET /api/v1/seedance/generations/{id}. SPENDS CREDITS (per-model).



## OpenAPI

````yaml /openapi.json post /api/v1/seedance/generations
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/seedance/generations:
    post:
      tags:
        - Images and video models
      summary: Generate a Seedance video or Seedream image
      description: >-
        Async, poll GET /api/v1/seedance/generations/{id}. SPENDS CREDITS
        (per-model).
      operationId: createSeedanceGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedanceGenerateRequest'
      responses:
        '201':
          description: Generation accepted.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SeedanceGenerateRequest:
      type: object
      properties:
        mode:
          type: string
          enum:
            - video
            - image-single
            - image-storyboard
            - image-character-sheet
        segments:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: >-
            Ordered prompt segments. Each is `{kind:'text',text}` or
            `{kind:'mention',mention:{...}}`. See SeedDance docs for the mention
            shape.
        settings:
          type: object
          additionalProperties: {}
          description: >-
            Mode-specific settings (video:
            model/aspectRatio/duration/resolution/generateAudio; image:
            aspectRatio/size/count).
        templateId:
          type:
            - string
            - 'null'
          format: uuid
        template:
          type: object
          additionalProperties: {}
      required:
        - mode
        - segments
        - settings
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
  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.