ApiframeApiframe Docs
Video GenerationSeedance

Seedance 2.0 Mini

ByteDance Seedance 2.0 Mini — the cheapest, fastest Seedance 2.0 variant with multimodal references and audio.

POST /v2/videos/generatemodel: "seedance-2-mini"

Seedance 2.0 Mini is the most affordable and fastest variant of Seedance 2.0. It shares the same multimodal reference inputs, audio generation, and web search capabilities at the lowest cost, capped at 720p output.

See Video Generation overview for common request fields, response format, and error codes.

Model-specific parameters

ParameterTypeDefaultDescription
seedanceParams.durationinteger8Video duration in seconds, any integer from 4 to 15
seedanceParams.resolutionstring"720p"Output resolution: "480p" or "720p"
seedanceParams.aspect_ratiostring"16:9"Aspect ratio: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16", or "adaptive"
seedanceParams.start_imagestringURL or asset://{assetId} for the first frame
seedanceParams.end_imagestringURL or asset://{assetId} for the last frame
seedanceParams.reference_image_urlsstring[]Up to 9 reference image URLs or asset URIs
seedanceParams.reference_video_urlsstring[]Up to 3 reference video URLs or asset URIs
seedanceParams.reference_audio_urlsstring[]Up to 3 reference audio URLs or asset URIs
seedanceParams.generate_audiobooleantrueEnables synchronized audio generation. Audio is included in the base price.
seedanceParams.return_last_framebooleanfalseReturns the last frame of the generated video
seedanceParams.web_searchbooleanfalseEnables web search grounding for the prompt
seedanceParams.seedintegerOptional random seed for reproducible generations
seedanceParams.camera_fixedbooleanfalseLocks the camera for more static motion

Asset references

Reference fields (start_image, end_image, reference_image_urls, reference_video_urls, reference_audio_urls) accept both direct URLs and asset URIs in the format asset://{assetId}. Use the Assets API to pre-upload media and obtain asset IDs.

Credit cost

Pricing is per second of output. The total credit cost is credits-per-second × duration. Reference images and audio do not affect cost; only reference_video_urls does (it shifts pricing to the *-refvid rate because reference video changes the upstream generation mode).

VariantCredits / sec
480p7
720p16
480p-refvid9
720p-refvid19

Examples: a 5-second 720p clip costs 16 × 5 = 80 credits; a 15-second 720p-refvid clip costs 19 × 15 = 285 credits.

Example result

Once the job is COMPLETED, the result object on GET /v2/jobs/:id looks like:

{
  "videoUrl": "https://cdn2.apiframe.ai/videos/b2c3d4e5-f6a7-8901-bcde-f23456789012.mp4"
}

See Result format for field details.

Code examples

curl -X POST https://api.apiframe.ai/v2/videos/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A timelapse of a flower blooming in a garden, close up macro shot",
    "model": "seedance-2-mini",
    "seedanceParams": {
      "duration": 4,
      "resolution": "720p",
      "generate_audio": false
    }
  }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/videos/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "A timelapse of a flower blooming in a garden, close up macro shot",
        "model": "seedance-2-mini",
        "seedanceParams": {
            "duration": 4,
            "resolution": "720p",
            "generate_audio": False,
        },
    },
)
print(response.json())
const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "A timelapse of a flower blooming in a garden, close up macro shot",
    model: "seedance-2-mini",
    seedanceParams: {
      duration: 4,
      resolution: "720p",
      generate_audio: false,
    },
  }),
});
console.log(await response.json());

Try it

POST/v2/videos/generateTry it

On this page