GoAPI
HomeDashboard
HomeDashboard
Join Discord
  1. Seedance
  • Get Started
  • Endpoints
    • Flux
      • Flux API with Redux Variation, Fill, Inpaint and Outpaint
      • Flux with LoRA and Controlnet
      • Available LoRA and Controlnet
      • Create Task
        • Text to Image
        • Image to Image
        • Kontext
      • Get Task
    • Gemini
      • Gemini-2.5-flash-image
      • Nano Banana Pro
      • Nano Banana 2
      • Get Task
    • Veo3
      • Veo3 Text to Video
      • Veo3 Image to Video
      • Veo3.1 Text to Video
      • Veo3.1 Image to Video
      • Get Task
    • Sora2
      • Sora2-preview Text to Video
      • Sora2 Text to Video
      • Sora2-Pro Text to Video
      • Sora2 Remove Watermark
      • Get Task
    • Omni Human
      • Omni Human 1.5
      • Get Task
    • Seedance
      • Moderation and Penalty
      • Seedance 2 preview
        POST
      • Seedance 2
        POST
      • Video Watermark Remover
        POST
      • Get Task
        GET
    • Seedream
      • Seedream 5 Lite
      • Get Task
    • Qwen Image
      • Text to Image
      • Image Edit
      • Get Task
    • Z-Image
      • Text to Image
      • Get Task
    • AI Hug
      • Create Task
      • Get Task
    • Midjourney
      • Detailed Explaination on Midjourney Task Result
      • GoAPI Penalties on Midjourney Usage
      • Midjourney V7 Instructions
      • Create Task
        • Imagine
        • Upscale
        • Variation
        • Reroll
        • Describe
        • Seed
        • Blend
        • Inpaint
        • Outpaint
        • Pan
      • Cancel Task
        • Cancel Task
        • Cancel Tasks
      • Get Task
    • Faceswap
      • Multi Faceswap
      • Image Faceswap
      • Video Faceswap
      • Get Task
    • Suno
      • Music
      • Lyrics
      • Get Task
    • Song (Udio)
      • Song API Task Creation Examples(Udio and Suno)
      • [Udio] Song Extend
      • Create Task
      • [Udio] Generate Lyrics
      • Get Task
    • TTS
      • Zeroshot Text-to-Speech F5-TTS
      • Get Task
    • DiffRhythm
      • Generate an Audio
      • Get Task
    • Ace Step
      • Create Task
        • Text to Audio
        • Audio to Audio
        • Audio Edit
        • Audio Extend
      • Get Task
    • Joycaption
      • Image Caption
      • Get Task
    • Mmaudio
      • Generate Audio
      • Get task
    • Dream Machine
      • Create Task
      • Get Task
    • Kling
      • Lipsync API Examples
      • Motion Brush Example
      • Kling Elements Video Generation API
      • Kling Effects Video Generation
      • Cancel Task
        • Cancel Task
        • Cancel Tasks
      • Create Task
      • Get Task
      • Kling Virtual Try-On
      • Kling Effects
      • Kling Sound
      • Kling Avatar
      • Kling Motion Control
      • Kling Turbo
      • Kling 3.0
    • Kling Omni
      • Kling o1
      • Kling 3.0 omni
      • Get Task
    • Hailuo
      • Generate Video
      • Get Task
    • Hunyuan Video
      • How to Make a Hunyuan API Call
      • Available Hunyuan Lora models
      • Generate Video
      • Get Task
    • WanX
      • Generate WanX Task with LoRA Using GoAPI
      • Available LoRA Types for Wanx
      • Use Cases for Wanx LoRA
      • Use Cases for Wanx Control Camera
      • Create Task
      • Get Task
    • Wan
      • Wan2.6 Text to Video
      • Wan2.6 Image to Video
      • Get Task
    • Skyreels
      • Create Task
      • Get Task
    • Framepack
      • Create Task
      • Get Task
    • Trellis
      • Trellis Create Task
      • Trellis2 Create Task
      • Get Task
    • GPTs API
      • ChatGPT Account Configuration
      • Examples for files upload into conversations in GPTs API
      • Conversation API
        • Create conversation
        • Add message to conversation
        • Upload file to conversation
        • Download file from code interpretor's sandbox
        • Download file from conversation
        • Get Task
    • LLM
      • LLM API | Basic Completions
      • Transcription API
      • TTS API
      • Embeddings API
      • Dall E 3 API
    • Account Management
      • Account Notification Webhook
      • Account Info
      • Task List Info
      • User Task History
    • Tools
      • File Upload API
      • Remove Background API
      • Remove Background-Get task
      • Segment With Prompt API
      • Segment with Prompt-Get task Copy
      • Image Upscale(Super Resolution) API
      • Image Upscale-Get task
      • Video Upscale
      • Video Upscale-Get task
      • Video Remove Background
      • Video Remove Background-Get task
    • GPT-image
      • GPT-image API
    • Seedance 2
  • Resources
    • Pricing Plan
    • Unified API Schema
    • Unified API Webhook
    • Technical Questions
    • Bulk Generation Service
    • Change Log
    • Common Error Message
    • Output Storage
    • Dashboard Manual
      • BYOA | Back-up Account
      • BYOA | Debug Checklist
      • BYOA | Connected Account Status
    • Announcements
      • GoAPI 2025 January 1st Pricing Update
      • The discontinued support for midjourney
      • Sunsetting Suno
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • Motion Brush
      • Float2 Point
      • Control Points
      • txt2video-1.3b
      • txt2video-14b
      • txt2video-14b-lora
      • img2video-14b
      • img2video-14b-lora
      • img2video-14b-keyframe
      • img2video-14b-control-camera
      • wan22-txt2video-14b
      • wan22-img2video-14b
      • ErrorResponse
      • Trellis API/text-to-3D
      • Trellis API/image-to-3D
      • Trellis2 API/image-to-3D
      • Create Task
      • VideoGenerationResponse
      • camera control
      • Cancel Params
      • TaskConfig
      • TaskResponse
    • Response
      • Unified-Task-Response
    • RequestBodies
      • Unified-Task-Request-Body
    • config
    • control_net_setting
    • lora_setting
    • Kling omni multi shot
  1. Seedance

Seedance 2

POST
https://api.goapi.ai/api/v1/task

Overview#

Seedance 2.0 provides high-quality video generation from text prompts, with multiple modes supporting text-to-video, first/last frame control, and multi-modal omni references. This document describes the available models, pricing, modes, usage guidelines, and the syntax for referencing images, videos, and audio in your prompts.
Currently available models:
seedance-2 (Pro, higher quality)
seedance-2-fast (Fast, lower cost)

Pricing#

ModelPrice per second
seedance-2$0.10
seedance-2-fast$0.08
Cost calculation:
Without input videos: credits = unit_price × output_duration
With input videos: credits = unit_price × (total_input_video_duration + output_duration)

Duration Limits#

Maximum output duration: 15 seconds (API enforces integer 4–15)
Maximum total input video duration: 15.4 seconds (sum of all input video reference durations)

Modes#

The mode parameter is required. It determines how references are used and which parameters take effect.

text_to_video#

Pure text-to-video generation. No references accepted.
duration: user-controlled (4-15s)
aspect_ratio: user-controlled (6 options)

first_last_frames#

Use 1-2 images as the first and/or last frame of the generated video.
image_urls: 1-2 images required. Only images accepted — video and audio URLs are rejected.
duration: user-controlled (4-15s)
aspect_ratio: ignored — the output aspect ratio is determined by the reference image. Any value provided will be silently discarded.
Supported image formats: jpg, jpeg, png, webp, bmp

omni_reference#

Use 1-12 mixed references (images, videos, audio) for flexible multi-modal generation.
image_urls: optional, images as style/content references
video_urls: optional, videos as motion/style references. Supported formats: mp4, mov
audio_urls: optional, audio as soundtrack (mp3/wav only, must be ≤15 seconds)
duration: user-controlled (4-15s)
aspect_ratio: user-controlled (6 options)
Audio-only is not allowed — at least one image or video reference must be provided alongside audio.
Total references (images + videos + audios) must be between 1 and 12.

Important Notes & Special Cases#

Parameter behavior by mode#

Parametertext_to_videofirst_last_framesomni_reference
durationUser input (4-15)User input (4-15)User input (4-15)
aspect_ratioUser input (6 options)Ignored (from image)User input (6 options)
image_urlsNot allowed1-2 requiredoptional (shared 12 max)
video_urlsNot allowedNot allowedoptional (shared 12 max)
audio_urlsNot allowedNot allowedoptional (shared 12 max)

Aspect ratio details#

Supported values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Default: 16:9 (when omitted or invalid)
In first_last_frames mode, this parameter is completely ignored. The output video inherits the aspect ratio from the first reference image. Passing a value will not cause an error but will have no effect.

Duration#

Range: 4 to 15 seconds (any integer)
Default: 5 seconds (when omitted or out of range)
This is different from Seedance models which only support 5/10/15.

Audio constraints#

Audio references are only accepted in omni_reference mode.
Supported formats: mp3, wav only.
Maximum audio duration: 15 seconds. The upstream silently rejects audio longer than 15 seconds (the upload will time out with no explicit error message).
Audio-only submissions are rejected — at least one image or video must accompany any audio references.

Content moderation#

Prompts are checked by a content moderation system before processing.
Flagged content will be rejected after a short delay. Repeated violations incur progressive credit penalties.
See: https://goapi.ai/docs/seedance-api/moderation-and-penalty

Peak hours#

From 09:00 to 15:00 GMT, Seedance experiences high traffic. Queue times may extend to several hours during this period.

Using References in Prompts#

When you include references, you can mention them in the prompt using @-syntax:

Syntax#

@image1, @image2, … — reference images by position in image_urls (1-based)
@video1, @video2, … — reference videos by position in video_urls (1-based)
@audio1, @audio2, … — reference audios by position in audio_urls (1-based)
Chinese format also supported: 【@图片1】, 【@视频1】, 【@音频1】

Examples#

Single image#

The cat in @image1 walks through a garden

Image + video + audio#

Apply @image1 artistic style with @video1 motion and @audio1 soundtrack

Morphing#

@image1 transforms into @image2

Validation#

If your prompt references a material that was not provided (e.g., @image3 but only 2 images supplied), the request will be rejected with a descriptive error message. The same applies to @videoN and @audioN.

Tips#

Use publicly accessible URLs (e.g., hosted on a CDN or cloud storage). Signed/expiring URLs may fail.
Keep input videos short (5-15 seconds) for best results.
Describe the desired output clearly in your prompt.
For first_last_frames, the first image controls both subject and aspect ratio of the output.

Request

Header Params

Body Params application/json

Examples
{
    "model": "seedance",
    "task_type": "seedance-2-fast",
    "input": {
        "prompt": "A woman sings and strums her guitar",
        "mode": "text_to_video",
        "duration": 5,
        "aspect_ratio": "16:9"
    },
    "config": {
        "webhook_config": {
            "endpoint": "https://your-webhook-endpoint.example.com/callback",
            "secret": ""
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://api.goapi.ai/api/v1/task' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "seedance",
    "task_type": "seedance-2-fast",
    "input": {
        "prompt": "A woman sings and strums her guitar",
        "mode": "text_to_video",
        "duration": 5,
        "aspect_ratio": "16:9"
    },
    "config": {
        "webhook_config": {
            "endpoint": "https://your-webhook-endpoint.example.com/callback",
            "secret": ""
        }
    }
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "code": 200,
    "data": {
        "task_id": "07ed43de-465d-43b1-b62c-44249b14d818",
        "model": "seedance",
        "task_type": "seedance-2-fast",
        "status": "pending",
        "config": {
            "service_mode": "",
            "webhook_config": {
                "endpoint": "",
                "secret": ""
            }
        },
        "input": {
            "prompt": "A woman sings and strums her guitar",
            "mode": "text_to_video",
            "duration": 5,
            "aspect_ratio": "16:9"
        },
        "output": null,
        "meta": {
            "created_at": "2026-04-05T13:33:26.10346684Z",
            "started_at": "0001-01-01T00:00:00Z",
            "ended_at": "0001-01-01T00:00:00Z",
            "usage": {
                "type": "point",
                "frozen": 4000000,
                "consume": 0
            },
            "is_using_private_pool": false
        },
        "detail": null,
        "logs": [],
        "error": {
            "code": 0,
            "raw_message": "",
            "message": "",
            "detail": null
        }
    },
    "message": "success"
}
Modified at 2026-04-06 03:00:18
Previous
Seedance 2 preview
Next
Video Watermark Remover