HiAPI
  • Models
  • Pricing
Search

Search HiAPI models, tools, and resources.

LoginGet Started
  • Models
  • Pricing
HiAPI

One API, All AI Models

Generate images, video, and audio with leading models through one production-ready API.

Get a free API key

AI Image API

  • All image models
  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0 Pro
  • Qwen Image 2.0 Pro
  • FLUX 1.1 Pro

AI Video API

  • All video models
  • Seedance 2.5
  • FLUX.3 Video
  • Seedance 2.0
  • Veo 3.1
  • Kling 3.0

AI Audio API

  • All audio models
  • MiniMax Music 2.6
  • MiniMax Music 1.5
  • ElevenLabs v3
  • Text to music
  • Text to speech

Product

  • Model marketplace
  • Playground
  • Pricing
  • Image API Cost Calculator
  • Free GPT Image 2 Generator
  • Free Nano Banana Image Generator
  • Outfit Preview
  • Product Photo Lab

Developers

  • Documentation
  • API Reference
  • Agent Skills
  • LLM integration index
  • Blog

Company

  • About
  • Contact support
  • Terms of Service
  • Privacy Policy

© 2026 hiapi. All rights reserved.

Open source on GitHubPython SDK on PyPI
  • The task lifecycle: create, poll, download
  • Input parameters
  • Worked example 1: a product demo (text-to-video)
  • Worked example 2: an ambiance scene (text-to-video)
  • Image-to-video: pin the first frame
  • Pricing: per second, by resolution
  • Where Seedance fits
GuideJun 23, 20267 min read

Seedance 2.0 API Guide: Cinematic Text-to-Video

Call ByteDance's Seedance 2.0 for text-to-video and image-to-video on hiapi's unified async task API — with two real generated clips, every parameter, and per-second pricing.

HiAPI TeamSeedanceVideo APIGuideText-to-Video

Latest models

Explore models

Contents
  • The task lifecycle: create, poll, download
  • Input parameters
  • Worked example 1: a product demo (text-to-video)
  • Worked example 2: an ambiance scene (text-to-video)
  • Image-to-video: pin the first frame
  • Pricing: per second, by resolution
  • Where Seedance fits

Generate it with HiAPI

Choose a model, enter your prompt, and see the result.

HiAPI Blog

Related articles

HiAPI

Generate it with HiAPI

If you are wiring AI video into a product in 2026 — ad creative, product demos, social loops, animated stills — the first integration question is rarely "which model looks best." It is "how do I call it, what does it cost per clip, and how do I keep a long-running render from blocking my request." This guide walks through the Seedance 2.0 API on hiapi end to end: the task lifecycle, every input parameter, two real generated clips with their exact prompts and task IDs, the per-second pricing math, and the image-to-video path.

Seedance 2.0 is ByteDance's video model. The thing that makes it a sensible default rather than a niche pick is that one model handles both text-to-video and image-to-video, generates native audio, and renders 4–15 second clips at 480p, 720p, or 1080p. You do not maintain two integrations for two modalities — same endpoint, same request shape, you just add a first-frame image when you have one.

The task lifecycle: create, poll, download

Video generation is slow by nature — a few seconds of 1080p footage takes real compute time. hiapi exposes every model, Seedance included, through one async task API so a render never holds a connection open. The pattern is always the same three steps:

  1. Create a task with POST /v1/tasks → you get a taskId back immediately.
  2. Poll GET /v1/tasks/{taskId} until status is success (or fail).
  3. Download the clip from output[0].url — and download it promptly, because the URL is a time-limited link.
# 1. Create the task
curl -X POST https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer $HIAPI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2-0",
    "input": {
      "prompt": "A slow cinematic dolly-in on a sleek matte-black smartwatch on a concrete pedestal, soft studio light",
      "aspect_ratio": "16:9",
      "duration": 5,
      "resolution": "720p",
      "generate_audio": false
    }
  }'

# 2. Poll until status = success
curl https://api.hiapi.ai/v1/tasks/$TASK_ID \
  -H "Authorization: Bearer $HIAPI_TOKEN"

For anything past a prototype, do not sit in a poll loop. Pass a callback object and let hiapi push you the terminal state instead:

{
  "model": "seedance-2-0",
  "input": { "prompt": "...", "aspect_ratio": "16:9", "duration": 5, "resolution": "720p" },
  "callback": { "url": "https://your-domain.com/hiapi/callback", "when": "final" }
}

Input parameters

FieldTypeRequiredDefaultNotes
promptstringyes—3–20,000 chars
aspect_ratioenumyes16:91:1, 4:3, 3:4, 16:9, 9:16, 21:9, adaptive
durationintegerno54–15 seconds
resolutionenumno720p480p, 720p, 1080p — drives cost
generate_audiobooleannotruenative synced audio
first_frame_urlstringno—image-to-video: pins the opening frame
reference_image_urlsstring[]no—reference subjects/style (≤9 with frames combined)

The two parameters that matter most for your bill are resolution and duration — pricing is per second and scales hard with resolution (see below). Keep both low while you are still iterating on the prompt.

Worked example 1: a product demo (text-to-video)

This is a 5-second 720p clip, no audio, generated from a single prompt — the kind of shot you would drop into a landing page or an ad.

A slow cinematic dolly-in on a sleek matte-black smartwatch resting on a
brushed-concrete pedestal, soft diffused studio light, the screen wakes to
show a glowing minimalist watch face, faint reflections move across the metal
bezel, premium tech commercial look, calm and clean.
  • Model: seedance-2-0 · aspect_ratio: 16:9 · duration: 5 · resolution: 720p · generate_audio: false
  • Task ID: tk-hiapi-01KVQFE96NADP6XSQA3PS14Z5N
  • Cost: 5 s × $0.33/s (720p) = $1.65

The camera move and the soft "wake" of the watch face came straight from the prompt — no keyframing, no post. For product shots, lead with the camera verb ("dolly-in", "slow pan", "push-in") and the lighting; Seedance follows motion direction well.

Worked example 2: an ambiance scene (text-to-video)

Same shape, different intent — a mood/establishing shot for a hero header or a background loop.

A gentle slow pan across a cozy specialty coffee shop interior at golden hour,
warm light through the window, steam rising from a cup on the counter, a few
patrons softly out of focus, cinematic, smooth camera motion.
  • Model: seedance-2-0 · aspect_ratio: 16:9 · duration: 5 · resolution: 720p
  • Task ID: tk-hiapi-01KVQFPHHSCV4P7DM585VCDP36
  • Cost: 5 s × $0.33/s (720p) = $1.65

Image-to-video: pin the first frame

When the opening frame has to match an asset you already own — a product render, an approved key visual, a character sheet — switch from text-to-video to image-to-video by adding first_frame_url. Everything else about the call is identical; you are just giving the model a starting frame to animate instead of generating one from scratch.

{
  "model": "seedance-2-0",
  "input": {
    "prompt": "Animate the product with a slow cinematic push-in, subtle light sweep across the surface",
    "first_frame_url": "https://static.hiapi.ai/your-asset/first.jpg",
    "aspect_ratio": "16:9",
    "duration": 5,
    "resolution": "720p"
  }
}

Use text-to-video when you are exploring an idea and the exact subject is flexible. Use image-to-video when brand consistency is the whole point and the first frame is non-negotiable.

Pricing: per second, by resolution

Seedance is billed per second of output, and the per-second rate is set by resolution. These are the live rates on hiapi:

ResolutionPer second5-second clip10-second clip
480p$0.15$0.75$1.50
720p$0.33$1.65$3.30
1080p$0.823$4.115$8.23

Two practical consequences:

  • Iterate at 480p. At $0.15/s, a 4-second test clip is $0.60. Lock the prompt and camera move at 480p, then re-render the winner at the resolution you actually ship. Burning 1080p renders on prompt exploration is the most common way to overspend.
  • Divide cost by your acceptance rate. If you keep 1 clip in 4, a $4.115 1080p render really costs ~$16.46 per usable clip. For high-volume work, that gap is the whole budget conversation — and it is why the iterate-at-480p habit pays for itself.

Where Seedance fits

Seedance 2.0 is the premium, do-everything pick: cinematic motion, native audio, and both modalities behind one integration. It is not the cheapest path to HD video on the platform — if you are rendering hundreds of variants, a lower-cost model is the right call for the variant pass. For how Seedance compares to the other video models on cost and capability, see Best AI Video Generation API in 2026.

When you are ready to ship: run your own prompts on the Seedance 2.0 model page, then move to the API with the task lifecycle above. Start at 480p, confirm the prompt, scale the resolution, and wire callbacks before you go to production.

Latest models

View all models
  • GPT Image 2From $0.007/image
  • Nano Banana 2From $0.051/image
  • Seedream 5.0 ProFrom $0.050/image
  • Seedance 2.5From $0.121/s

Explore models

TextImageVideoAudio
Back to blog
GPT Image 2From $0.007/image
Nano Banana 2From $0.051/image
Seedream 5.0 ProFrom $0.050/image
Seedance 2.5From $0.121/s
View all models
TextChat and reasoning
ImageGenerate and edit
VideoText and image to video
AudioSpeech and music
Start generating
View model pricing
View all articles
Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

Grok Imagine Image 2.0 Image-to-Image Prompts: 4 Recipes With Real Outputs

Grok Imagine Image 2.0 Image-to-Image Prompts: 4 Recipes With Real Outputs

Grok Imagine 2.0 Text-to-Image Prompt Recipes: Copy-Paste Prompts With Real Outputs

Grok Imagine 2.0 Text-to-Image Prompt Recipes: Copy-Paste Prompts With Real Outputs

Using flux-2-klein-9b/text-to-image for E-Commerce Product Images via the hiapi API

Using flux-2-klein-9b/text-to-image for E-Commerce Product Images via the hiapi API

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos

Start generating