Skip to content
NEWgpt-6-luna removed from Codex Plus / Codex Pro: switch to gpt-5.6-lunaView pricing
HopBase
← Back to blog

Seedance 2.0 Video Generation API: Quick Start Guide

Seedance 2.0 Video Generation API: Quick Start Guide

The short answer: Seedance 2.0 video generation on HopBase is asynchronous β€” submit a job, poll its status, then download the result. Send a POST to https://api.hop-base.com/v1/video/generate with your key, "model": "dreamina-seedance-2-0-260128" (or doubao-seedance-2-0-260128-a on a China group), a text prompt inside content, a duration and a resolution; the response returns a task.id to poll at GET /v1/video/tasks/{task_id} every 5–10 seconds, and generation typically takes one to several minutes. Billing is by video token, and the token count grows with duration and resolution, so test with 5 seconds at 720p and move to 1080p once you like the output. Write prompts as camera direction ("slow push", "backlit silhouette", "locked camera") rather than plot, since 5 to 10 seconds holds a single shot, and pass a first-frame image to lock the look for brand work. Returned video URLs carry 24-hour signatures, so download each video to your own storage right after it completes instead of embedding the URL. Start with a small batch, measure your usable rate, then scale.

Seedance 2.0 stands out in text-to-video for compelling value: fluid motion, natural cinematography, and pricing that's a fraction of the top tier. We've fully integrated it into our gateway β€” here's the shortest path from job submission to final video.

Video Generation Is Asynchronous

Unlike chat completions, video generation follows an async pattern: submit job β†’ poll status β†’ download video:

# 1. Submit video generation job
curl https://api.hop-base.com/v1/video/generate \
  -H "Authorization: Bearer your-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dreamina-seedance-2-0-260128",
    "content": [
      {"type": "text", "text": "A serene boardwalk at sunrise, camera slowly tracking forward, seagulls gliding past"}
    ],
    "duration": 5,
    "resolution": "1080p"
  }'

# 2. Poll GET /v1/video/tasks/{task_id} with the returned task.id; when status is completed, read the video URL from task.outputs

Generation typically takes one to several minutes; poll every 5–10 seconds. The example uses dreamina-seedance-2-0-260128 on an overseas group; on a China group use doubao-seedance-2-0-260128-a. Full model list, parameters and response format: Seedance docs.

Parameters and Pricing Alignment

  • Duration and resolution set the cost: billing is by video token, and longer or higher-resolution clips use more tokens. 5 seconds at 720p is the cheapest way to test, then step up to 1080p once you like the results.
  • Write "camera movement," not "story."Five to ten seconds holds one shot. Cinematic language like "slow push," "backlit silhouette," "locked camera" works better than plot recaps.
  • First-frame images for style control: pass an image as your opening frame to lock down look and feel β€” ideal for brand asset production runs.

Video URLs Have a 24-Hour Window β€” Download Immediately

Returned video URLs carry 24-hour time-limited signatures. After expiry, you can't fetch them. Download and store videos to your own storage right after generation completes β€” don't embed the returned URLs directly in your app.

Where It Shines

Short-form clips, product showcase animations, social ad A/B test production β€” scenarios with high volume, tight cost sensitivity, and tolerance for frame selection. Start with a small batch credit, find your usable rate, then scale production. That's the safest launch path.