Seedance 2.5 Flash API リファレンス
Seedance 2.5 の Flash 版:480p・720pで4〜30秒の音声付き動画を生成、文章での編集にも対応
PopNow の API キー 1 つで、Seedance 2.5 Flash を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- ByteDance
- 出力
- 動画
- 最安
- $0.077 USD 出力 1 秒あたり
- 目安の所要時間
- 約 77 秒
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
動画を作成
bytedance/seedance-2.5-flash/text-to-video
料金
| オプション | USD |
|---|---|
480p | $0.116 出力 1 秒あたり |
720p | $0.224 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 20,000 文字まで | The shot to generate: subject, action, setting, camera and sound. Put spoken lines in double quotes. |
aspect_ratio任意 | string | 16:9 | 16:9, 9:16, 4:3, 3:4, 1:1, 21:9, adaptive | Frame shape: 16:9 (default), 9:16, 4:3, 3:4, 1:1, 21:9, or adaptive to let the model choose. |
resolution任意 | string | 720p | 480p, 720p | 480p or 720p (default). 480p costs half as much per second. |
duration_seconds任意 | integer | 5 | 4〜30 | Clip length in whole seconds, 4 to 30 (default 5). Billed per requested second. |
generate_audio任意 | boolean | true | — | Generate a soundtrack with the picture (default on). Does not change the price. |
output_format任意 | string | mp4 | mp4, mov | Container: mp4 (default) or mov, which keeps more colour detail for further editing. Free. |
return_last_frame任意 | boolean | false | — | Also return the clip's closing frame as a separate image (default off). Free. |
watermark任意 | boolean | false | — | Add a visible AI-generated watermark to the clip (default off). Free. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seedance-2.5-flash/text-to-video",
"input": {
"prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
"duration_seconds": 5,
"resolution": "720p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"画像から動画
bytedance/seedance-2.5-flash/image-to-video
料金
| オプション | USD |
|---|---|
480p | $0.116 出力 1 秒あたり |
720p | $0.224 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 20,000 文字まで | What happens between the frames: motion, camera and sound. |
image_url必須 | string (uri) | — | — | Start frame. The clip opens on this picture and keeps its proportions. |
last_image_url任意 | string (uri) | — | — | Optional end frame. The clip finishes on this picture; use one with matching framing. |
resolution任意 | string | 720p | 480p, 720p | 480p or 720p (default). 480p costs half as much per second. |
duration_seconds任意 | integer | 5 | 4〜30 | Clip length in whole seconds, 4 to 30 (default 5). Billed per requested second. |
generate_audio任意 | boolean | true | — | Generate a soundtrack with the picture (default on). Does not change the price. |
output_format任意 | string | mp4 | mp4, mov | Container: mp4 (default) or mov, which keeps more colour detail for further editing. Free. |
return_last_frame任意 | boolean | false | — | Also return the clip's closing frame as a separate image (default off). Free. |
watermark任意 | boolean | false | — | Add a visible AI-generated watermark to the clip (default off). Free. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の image_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seedance-2.5-flash/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"duration_seconds": 5,
"resolution": "720p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"参考素材から動画
bytedance/seedance-2.5-flash/reference-to-video
料金
| オプション | USD |
|---|---|
resolution = 480p, with_video = true | $0.077 出力 1 秒あたり |
resolution = 480p, with_video = false | $0.116 出力 1 秒あたり |
resolution = 720p, with_video = true | $0.147 出力 1 秒あたり |
resolution = 720p, with_video = false | $0.224 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 20,000 文字まで | The new scene, naming each upload as @Image 1, @Video 1 or @Audio 1 (numbered per type in upload order) and saying what it is for. |
reference_image_urls任意 | array<string (uri)> | — | 10 件まで | Up to 10 images of people, products, places or a look to keep, named @Image 1, @Image 2 and so on. Free. |
reference_video_urls任意 | array<string (uri)> | — | 5 件まで | Up to 5 clips for motion, camera work or a setting, 30 seconds in total, named @Video 1 and so on. Their seconds are added to the billed length. Each clip at least about 410,000 pixels (e.g. 854×480). |
reference_audio_urls任意 | array<string (uri)> | — | 5 件まで | Up to 5 voice, music or sound clips, 30 seconds in total, named @Audio 1 and so on. Free. |
aspect_ratio任意 | string | 16:9 | 16:9, 9:16, 4:3, 3:4, 1:1, 21:9, adaptive | Frame shape: 16:9 (default), 9:16, 4:3, 3:4, 1:1, 21:9, or adaptive to let the model choose. |
resolution任意 | string | 720p | 480p, 720p | 480p or 720p (default). Sets the per-second rate. |
duration_seconds任意 | integer | 5 | 4〜30 | Clip length in whole seconds, 4 to 30 (default 5). |
generate_audio任意 | boolean | true | — | Generate a soundtrack with the picture (default on). Does not change the price. |
output_format任意 | string | mp4 | mp4, mov | Container: mp4 (default) or mov, which keeps more colour detail for further editing. Free. |
return_last_frame任意 | boolean | false | — | Also return the clip's closing frame as a separate image (default off). Free. |
watermark任意 | boolean | false | — | Add a visible AI-generated watermark to the clip (default off). Free. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の reference_image_urls には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seedance-2.5-flash/reference-to-video",
"input": {
"prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"duration_seconds": 5,
"resolution": "720p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"動画を編集
bytedance/seedance-2.5-flash/video-edit
料金
| オプション | USD |
|---|---|
480p | $0.195 出力 1 秒あたり |
720p | $0.36 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 20,000 文字まで | The change to make, then what must stay the same. Name reference images as @Image 1 and audio as @Audio 1. |
video_url必須 | string (uri) | — | — | The MP4 clip to edit, 4 to 30 seconds; files outside that range are refused before any charge. Billed per source second, rounded up. |
reference_image_urls任意 | array<string (uri)> | — | 10 件まで | Optional images showing the target look, such as a garment, prop, face or palette, named @Image 1 and so on. Free. |
reference_audio_urls任意 | array<string (uri)> | — | 5 件まで | Optional audio, 30 seconds in total, that steers the new soundtrack, named @Audio 1 and so on. Free. |
resolution任意 | string | 720p | 480p, 720p | 480p or 720p (default). 480p costs half as much per source second. |
generate_audio任意 | boolean | true | — | On: write a new soundtrack for the edited picture. Off: keep the source clip's original sound. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の video_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seedance-2.5-flash/video-edit",
"input": {
"prompt": "Recolor the flowers in soft pastel blue; keep the face and the motion unchanged",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"resolution": "720p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"動画を延長
bytedance/seedance-2.5-flash/video-extend
料金
| オプション | USD |
|---|---|
480p | $0.116 出力 1 秒あたり |
720p | $0.224 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 20,000 文字まで | Required. What happens after the clip's last frame: the next action, the camera move and the sound. |
video_url必須 | string (uri) | — | — | Required. Source clip in MP4, MOV or WebM, up to 60 seconds. Flash starts the new segment from its final frame, and the delivered file is this clip followed by the new footage. |
last_image_url任意 | string (uri) | — | — | Optional end frame: the new segment finishes on this picture. The opening frame always comes from your clip. |
resolution任意 | string | 720p | 480p, 720p | Resolution of the new segment: 480p or 720p (default). The per-second rate depends on it; pick the one closest to your source. |
duration_seconds任意 | integer | 5 | 4〜30 | Length of the new segment in whole seconds, 4 to 30 (default 5). Billed per requested second; the source clip is not billed. |
generate_audio任意 | boolean | true | — | Generate sound for the new segment (default on). Your clip keeps its own soundtrack either way; the price does not change. |
watermark任意 | boolean | false | — | Add the model's visible AI-generated watermark to the new segment (default off). Free. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の video_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seedance-2.5-flash/video-extend",
"input": {
"prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"duration_seconds": 5,
"resolution": "720p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
