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 preview

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

Overview#

Seedance 2.0 provides high‑quality video generation from text prompts, with optional image references to control subject appearance or style, and optional video input for video editing. This document describes the available models, pricing, usage guidelines, and the syntax for referencing images and videos in your prompts.
Currently available models:
seedance-2-preview
seedance-2-fast-preview

Pricing#

ModelModePrice per second
seedance-2-previewText/Image to Video$0.12
seedance-2-fast-previewText/Image to Video$0.09
seedance-2-previewVideo Edit$0.20
seedance-2-fast-previewVideo Edit$0.15
For Video Edit mode, the duration parameter is ignored. Since this mode edits the original video, the output video length equals the input video length. Billing is based on the actual output video duration.
Price modeification was applied on 2026/04/03

Note#

Peak hours: From 09:00 to 15:00 GMT, Seedance experiences high traffic. During this period, queue times may extend to several hours.
Reference images: The API supports using one or more images as references in your prompts. See Using Image References for syntax. Maximum 9 images.
Video edit: The API supports editing an existing video by providing it via video_urls. See Video Edit below.
Aspect ratio: The aspect ratio of the reference image takes precedence over the aspect ratio specified in the request parameters. (We have noticed the issue that the aspect ratio parameter is currently not taking effect and are working on a fix.)

Using Image References in Prompts#

When you include images in your request, you can reference them directly in the text prompt using the @imageN placeholder, where N is the 1‑based position of the image in the request (e.g., the first uploaded image is @image1).

Syntax#

@image1, @image2, … – reference the image at the corresponding position.
You can use multiple references in a single prompt to indicate different subjects or transitions.
The engine automatically converts @imageN to the upstream API format 【@图片N】 for compatibility. You may also use the Chinese format directly if preferred.

Examples#

Single image reference#

The cat in @image1 walks through a garden

Morphing effect#

@image1 transforms into @image2

Multi‑subject scene#

The whale in @image1 meets the ninja in @image2

Validation#

If your prompt references an image that was not provided (e.g., you use @image3 but only two images are supplied), the request will be rejected with a 400 Bad Request error.

Video Edit#

You can provide a video via the video_urls array to enable video edit mode. In this mode, Seedance edits the original video based on the transformations described in your prompt. The output video has the same length as the input video.

How it works#

Provide exactly one video URL in the video_urls array.
The duration parameter is ignored in this mode — the output video length equals the input video length, since this mode edits the original video rather than generating a new one.
You may combine video edit with image references (via image_urls) to control subject appearance in the edited video (e.g., replace a character).
The input video must pass a content safety review. If the video is rejected, the task will fail with an error message indicating the media did not pass the security check.

Tips#

Use publicly accessible video URLs (e.g., hosted on a CDN or cloud storage).
Keep input videos short (5–15 seconds) for best results.
Describe the desired transformation clearly in your prompt (e.g., style changes, lighting, effects, character replacement).

Request

Header Params

Body Params application/json

Examples
{
    "model": "seedance",
    "task_type": "seedance-2-preview",
    "input": {
        "prompt": "A woman sings and strums her guitar",
        "duration": 5,
        "aspect_ratio": "16:9"
    },
    "config": {
        "webhook_config": {
            "endpoint": "https://webhook.site/440dc876-c92a-4ef7-a3c5-2f4a8f528601",
            "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-preview",
    "input": {
        "prompt": "A woman sings and strums her guitar",
        "duration": 5,
        "aspect_ratio": "16:9"
    },
    "config": {
        "webhook_config": {
            "endpoint": "https://webhook.site/440dc876-c92a-4ef7-a3c5-2f4a8f528601",
            "secret": ""
        }
    }
}'

Responses

🟢200Success
application/json
Body

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