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

# Generate a video with Wan 3.0's parameters

> Send Wan 3.0's own text-to-video body. Studio handles authentication, dispatch and delivery, and answers with a Studio generation.



## OpenAPI

````yaml /openapi.json post /providers/reapi/videos/generations
openapi: 3.1.0
info:
  title: Superscore Studio API
  version: '2026-11-29'
  description: >-
    Generate images and short videos with your organization's Studio API key.
    Every generation is asynchronous: create it, then poll its Location.
servers:
  - url: https://studio.superscore.ai/api/v1
security:
  - bearerAuth: []
paths:
  /providers/reapi/videos/generations:
    post:
      summary: Generate a video with Wan 3.0's parameters
      description: >-
        Send Wan 3.0's own text-to-video body. Studio handles authentication,
        dispatch and delivery, and answers with a Studio generation.
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/QuoteId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NativeVideoRequest'
            example:
              model: wan3.0-video
              prompt: A slow push toward a ceramic cup on a sunlit counter
              duration: 5
              resolution: 720P
              size: '16:9'
              audio: false
              seed: 0
      responses:
        '200':
          description: >-
            A retry with the same Idempotency-Key whose generation already
            finished.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Generation'
        '202':
          description: 'Accepted: the generation is queued or running.'
          headers:
            Location:
              description: Where to poll this generation.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before polling, while it runs.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Generation'
        '400':
          description: 'idempotency_key_required or invalid_json: the request is incomplete.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            invalid_key: the Bearer key is missing, revoked or expired, or its
            issuer no longer has Superscore access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: 'insufficient_balance or daily_spend_limit: nothing was held or sent.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            idempotency_conflict, quote_not_found, quote_expired or
            quote_mismatch.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: unsupported_parameter or invalid_parameter, with the field path.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: 10 generations are already running.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: >-
            temporarily_unavailable: retry with the same Idempotency-Key.
            dispatch_failed (generation routes): the job could not start and is
            settled as failed; retry with a new Idempotency-Key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      description: >-
        Any unique string of 1–255 printable ASCII characters, with no spaces,
        such as a UUID. A retry with the same key and body returns the original
        generation and is never charged twice; the same key with a different
        body is refused.
      schema:
        type: string
        minLength: 1
        maxLength: 255
        pattern: ^[\x21-\x7e]{1,255}$
    QuoteId:
      name: Quote-Id
      in: header
      required: false
      description: Binds the price of a quote from POST /quotes.
      schema:
        type: string
        format: uuid
  schemas:
    NativeVideoRequest:
      type: object
      additionalProperties: false
      description: >-
        Wan 3.0's own request body (reAPI), at the top level. Fields not listed
        are refused by name with 422 unsupported_parameter. Studio sets
        content_filter: true.
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          const: wan3.0-video
        prompt:
          type: string
          description: The shot to film. Sent exactly as written.
          pattern: \S
          minLength: 1
          maxLength: 20000
        duration:
          type: integer
          description: Seconds of video; sets the price.
          default: 5
          minimum: 2
          maximum: 8
        resolution:
          type: string
          description: Output tier; sets the price.
          enum:
            - 480P
            - 720P
            - 1080P
          default: 1080P
        size:
          type: string
          description: Output shape.
          enum:
            - adaptive
            - '16:9'
            - '9:16'
            - '1:1'
            - '4:3'
            - '3:4'
            - '21:9'
          default: adaptive
        audio:
          type: boolean
          description: Generate a sound track.
          default: true
        prompt_extend:
          type: boolean
          description: Let the model expand the prompt.
          default: true
        seed:
          type: integer
          description: Fix the seed for repeatable output; -1 for random.
          minimum: -1
          maximum: 2147483647
    Generation:
      type: object
      required:
        - id
        - status
        - outputs
        - billing
      properties:
        id:
          type: string
          format: uuid
        object:
          const: generation
        type:
          enum:
            - image
            - video
        model:
          type: string
        route:
          type: string
        status:
          enum:
            - queued
            - running
            - succeeded
            - failed
        created_at:
          type: string
          format: date-time
        finished_at:
          type:
            - string
            - 'null'
          format: date-time
        outputs:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              url:
                type:
                  - string
                  - 'null'
                format: uri
              content_type:
                type: string
              expires_at:
                type:
                  - string
                  - 'null'
                format: date-time
        error:
          type:
            - object
            - 'null'
          properties:
            code:
              type: string
            message:
              type: string
        billing:
          type: object
          description: >-
            Held at the maximum before dispatch; on success, charged the
            provider's receipt (never above the maximum); on failure, released
            in full.
          properties:
            state:
              enum:
                - held
                - captured
                - released
            currency:
              const: USD
            expected_usd:
              type: number
            max_usd:
              type: number
            charged_usd:
              type:
                - number
                - 'null'
            provider_credits:
              type:
                - integer
                - 'null'
            superscore_fee_usd:
              type: number
            rate_version:
              type: string
            quote_id:
              type:
                - string
                - 'null'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            field:
              type: string
              description: The offending field, for validation errors.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An organization API key (sk_studio_…) from Studio → API. Only the owner
        and admins create keys.

````

## Related topics

- [Generate an image with Qwen Image 2.1's parameters](https://docs.superscore.ai/api-reference/generate-an-image-with-qwen-image-21s-parameters.md)
- [Pricing and billing](https://docs.superscore.ai/pricing.md)
- [Superscore Studio API](https://docs.superscore.ai/index.md)
- [Generate with Studio defaults](https://docs.superscore.ai/api-reference/generate-with-studio-defaults.md)
- [Quickstart](https://docs.superscore.ai/quickstart.md)


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