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

> ## Agent Instructions
> Send API requests to https://api.ttapi.io with the TT-API-KEY header. Midjourney account hosting uses https://hold.ttapi.io. Claude Code uses https://cc.ttapi.io.
> Most generation endpoints are asynchronous. The submit response returns a job id. Poll that product's fetch endpoint, or pass a webhook on the submit request. A fetch call does not start a new generation.
> 1 USD = 100 quota. Check the pricing page for that product before estimating cost.
> This file lists the English docs. Follow every /_llms/ link recursively for the API reference, Chinese, and Russian. Open a page's .md URL for the endpoint schema.

# Suno Video Job Result API

> Query Suno video job status and retrieve generated results and failure details.

Use `data.jobId` returned by [video generation](https://docs.ttapi.io/api/en/suno/suno_video_generate.md) or [video extension](https://docs.ttapi.io/api/en/suno/suno_video_extend.md) to query the job result.


## OpenAPI

````yaml openapi/en/suno-video-fetch.json GET /suno/v2/fetch
openapi: 3.1.0
info:
  title: TTAPI Suno Video Result API
  version: 1.0.0
  description: Query a submitted Suno video job.
servers:
  - url: https://api.ttapi.io
security: []
paths:
  /suno/v2/fetch:
    get:
      summary: Fetch Video Job
      description: >-
        Query a submitted Suno video job. The API key must have Suno Video
        permission, and the job must belong to the current user.
      parameters:
        - name: jobId
          in: query
          required: false
          schema:
            type: string
          description: data.jobId returned by the submission endpoint.
          example: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
      responses:
        '200':
          description: >-
            Query successful. The response status indicates the video job
            progress and result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoVideoFetchResult'
              examples:
                video_success:
                  summary: Video Job Succeeded
                  value:
                    status: SUCCESS
                    message: success
                    jobId: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
                    data:
                      quota: '75.00000000'
                      request_body:
                        prompt: >-
                          A paper lantern slowly rises into the starry sky as
                          the camera follows it upward.
                        duration: 5
                        resolution: 480p
                        aspect_ratio: '9:16'
                      videos:
                        - creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb01
                          status: succeeded
                          video_url: https://cdn.ttapi.io/suno/example-1.mp4
                          asset:
                            poster_url: https://example.com/poster-1.jpg
                            thumbnail_url: https://example.com/thumbnail-1.jpg
                            last_frame_url: https://example.com/last-frame-1.jpg
                            width: 480
                            height: 854
                            duration_s: 5.167
                            content_type: video/mp4
                            status: ready
                          error: null
                          error_code: null
                        - creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb02
                          status: succeeded
                          video_url: https://cdn.ttapi.io/suno/example-2.mp4
                          asset:
                            poster_url: https://example.com/poster-2.jpg
                            thumbnail_url: https://example.com/thumbnail-2.jpg
                            last_frame_url: https://example.com/last-frame-2.jpg
                            width: 480
                            height: 854
                            duration_s: 5.167
                            content_type: video/mp4
                            status: ready
                          error: null
                          error_code: null
                video_queued:
                  summary: Video Job Processing
                  value:
                    status: ON_QUEUE
                    message: null
                    jobId: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
                    data:
                      quota: '75.00000000'
                      request_body:
                        prompt: >-
                          A paper lantern slowly rises into the starry sky as
                          the camera follows it upward.
                        duration: 5
                        resolution: 480p
                        aspect_ratio: '9:16'
                      videos: []
                video_failed:
                  summary: Video Job Failed
                  value:
                    status: FAILED
                    message: nudity_sexual
                    jobId: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
                    data:
                      quota: '0'
                      request_body:
                        prompt: >-
                          A paper lantern slowly rises into the starry sky as
                          the camera follows it upward.
                        duration: 5
                        resolution: 480p
                        aspect_ratio: '9:16'
                      videos:
                        - creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb01
                          status: failed
                          video_url: null
                          asset: null
                          error: nudity_sexual
                          error_code: moderated
                          moderation_reason: nudity_sexual
                        - creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb02
                          status: failed
                          video_url: null
                          asset: null
                          error: nudity_sexual
                          error_code: moderated
                          moderation_reason: nudity_sexual
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '403':
          description: >-
            The API key lacks the required product permission, or the request
            violates account access restrictions.
      security:
        - CustomApiKey: []
components:
  schemas:
    SunoVideoFetchResult:
      title: Video Job Result
      type: object
      required:
        - status
        - message
        - jobId
        - data
      properties:
        status:
          type: string
          enum:
            - ON_QUEUE
            - SUCCESS
            - FAILED
        message:
          type:
            - string
            - 'null'
          description: >-
            Job message. If generation fails, may contain the upstream error
            from the first failed video.
        jobId:
          type: string
          description: data.jobId returned by the submission endpoint.
        data:
          type: object
          required:
            - quota
            - request_body
            - videos
          properties:
            quota:
              type: string
              description: Quota consumed by the job.
            request_body:
              description: Request parameters.
              allOf:
                - $ref: '#/components/schemas/SunoVideoGenerateRequest'
                - type: object
                  required:
                    - resolution
                    - model
                    - aspect_ratio
            videos:
              type: array
              maxItems: 2
              items:
                $ref: '#/components/schemas/SunoVideoTake'
              description: Collection of generated videos.
    SunoVideoGenerateRequest:
      title: Video Generation Parameters
      type: object
      required:
        - prompt
        - duration
      properties:
        prompt:
          type: string
          description: Describe the scene, camera movement, and style.
          minLength: 1
          maxLength: 30000
        duration:
          type: integer
          minimum: 5
          maximum: 15
          description: Generation duration in seconds.
        resolution:
          type:
            - string
            - 'null'
          description: >-
            Output resolution. 480p corresponds to fast; 720p corresponds to
            standard.
          enum:
            - 480p
            - 720p
          default: 480p
        aspect_ratio:
          type:
            - string
            - 'null'
          description: Video aspect ratio.
          enum:
            - '1:1'
            - '9:16'
            - '16:9'
            - '4:3'
            - '3:4'
          default: '9:16'
        first_frame_url:
          type: string
          description: >-
            Public HTTP(S) URL of the first-frame image. Can be used alone, with
            a last frame, or with reference images.
          format: uri
        last_frame_url:
          type: string
          description: >-
            Public HTTP(S) URL of the last-frame image. Requires a first frame;
            the first-and-last-frame combination does not support reference
            images.
          format: uri
        reference_image_urls:
          type: array
          maxItems: 9
          items:
            type: string
            description: Public HTTP(S) URL of a reference image.
            format: uri
          description: Up to 9 images. Can be used alone or with a first frame.
        song_id:
          type: string
          description: Suno song ID for reference audio. Can be combined with image inputs.
        song_window:
          type: object
          description: >-
            Reference audio window. Requires song_id. If omitted, uses a segment
            starting at second 0 with the same duration as the video.
          properties:
            start_s:
              type: number
              minimum: 0
              default: 0
              description: Start time in seconds. Fractional values are allowed.
            end_s:
              type: number
              minimum: 0
              description: >-
                End time in seconds. Defaults to start_s + duration. If
                specified explicitly, the window length must equal duration.
        lip_sync:
          type: boolean
          default: false
          description: Enable lip sync. Requires song_id when set to true.
        hookUrl:
          type: string
          format: uri
          description: >-
            Optional webhook callback URL. Sent via HTTP POST when the job
            finishes; the body matches the video job Fetch V2 response.
    SunoVideoTake:
      type: object
      required:
        - creation_id
        - status
        - video_url
        - asset
        - error
        - error_code
      properties:
        creation_id:
          type: string
          description: Video ID.
        status:
          type: string
          description: >-
            Status of an individual result, such as pending, succeeded, or
            failed.
        video_url:
          type:
            - string
            - 'null'
          description: Playable MP4 URL returned after the job succeeds.
          format: uri
        asset:
          type:
            - object
            - 'null'
          description: Asset metadata. null when the asset is not yet available.
          properties:
            poster_url:
              type: string
              description: Poster image URL.
              format: uri
            thumbnail_url:
              type: string
              description: Thumbnail URL.
              format: uri
            last_frame_url:
              type: string
              description: Last-frame image URL.
              format: uri
            width:
              type: integer
              description: Width in pixels.
            height:
              type: integer
              description: Height in pixels.
            duration_s:
              type: number
              description: Actual video duration in seconds.
            content_type:
              type: string
              description: Media type, such as video/mp4.
            status:
              type: string
              description: Asset status, such as ready.
        error:
          type:
            - string
            - 'null'
          description: Error message.
        error_code:
          type:
            - string
            - 'null'
          description: Error code.
        moderation_reason:
          type: string
          description: Reason for moderation failure.
  responses:
    400Response:
      description: Parameter error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
              data:
                type: object
            required:
              - status
              - message
    401Response:
      description: Authorization failed
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
                example: Wrong TT-API-KEY or email is not activated.
            required:
              - status
              - message
  securitySchemes:
    CustomApiKey:
      type: apiKey
      in: header
      name: TT-API-KEY
      description: >-
        Obtain your API key from the <a href='https://dashboard.ttapi.io'
        target='_blank'>TTAPI Dashboard</a>.

````

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