PopNowDocs API
Contenuto principale

Riferimento API di Seedance 2.5 Flash

La versione Flash di Seedance 2.5.

Con una sola chiave API di PopNow chiami Seedance 2.5 Flash dal tuo codice. Qui trovi gli ID del modello da inviare, ogni campo di input accettato, quanto costa ogni richiesta in USD e una richiesta da incollare nel terminale così com’è.

Le descrizioni dei parametri provengono dallo schema di input del modello e sono disponibili solo in inglese.

In sintesi

Sviluppato da
ByteDance
Risultato
Video
Da
$0.077 USD per secondo generato
Tempo tipico
circa 77 s

I prezzi sono indicati in USD e gli importi vengono addebitati sul tuo saldo PopNow. Alla ricezione viene riservato il massimo importo; al termine viene addebitato il consumo effettivo e il resto viene sbloccato. Le attività fallite non vengono addebitate. Per un preventivo esatto prima di eseguire, usa POST /api/v1/jobs/quote.

Crea video

bytedance/seedance-2.5-flash/text-to-video

Prezzo

OpzioneUSD
480p$0.116 per secondo generato
720p$0.224 per secondo generato

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 20.000 caratteriThe shot to generate: subject, action, setting, camera and sound. Put spoken lines in double quotes.
aspect_ratioFacoltativostring16:916:9, 9:16, 4:3, 3:4, 1:1, 21:9, adaptiveFrame shape: 16:9 (default), 9:16, 4:3, 3:4, 1:1, 21:9, or adaptive to let the model choose.
resolutionFacoltativostring720p480p, 720p480p or 720p (default). 480p costs half as much per second.
duration_secondsFacoltativointeger5da 4 a 30Clip length in whole seconds, 4 to 30 (default 5). Billed per requested second.
generate_audioFacoltativobooleantrue—Generate a soundtrack with the picture (default on). Does not change the price.
output_formatFacoltativostringmp4mp4, movContainer: mp4 (default) or mov, which keeps more colour detail for further editing. Free.
return_last_frameFacoltativobooleanfalse—Also return the clip's closing frame as a separate image (default off). Free.
watermarkFacoltativobooleanfalse—Add a visible AI-generated watermark to the clip (default off). Free.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

POST /api/v1/jobs/createTask
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"
  }
}'

La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Da immagine a video

bytedance/seedance-2.5-flash/image-to-video

Prezzo

OpzioneUSD
480p$0.116 per secondo generato
720p$0.224 per secondo generato

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 20.000 caratteriWhat happens between the frames: motion, camera and sound.
image_urlObbligatoriostring (uri)——Start frame. The clip opens on this picture and keeps its proportions.
last_image_urlFacoltativostring (uri)——Optional end frame. The clip finishes on this picture; use one with matching framing.
resolutionFacoltativostring720p480p, 720p480p or 720p (default). 480p costs half as much per second.
duration_secondsFacoltativointeger5da 4 a 30Clip length in whole seconds, 4 to 30 (default 5). Billed per requested second.
generate_audioFacoltativobooleantrue—Generate a soundtrack with the picture (default on). Does not change the price.
output_formatFacoltativostringmp4mp4, movContainer: mp4 (default) or mov, which keeps more colour detail for further editing. Free.
return_last_frameFacoltativobooleanfalse—Also return the clip's closing frame as a separate image (default off). Free.
watermarkFacoltativobooleanfalse—Add a visible AI-generated watermark to the clip (default off). Free.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in image_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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"
  }
}'

La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Da riferimenti a video

bytedance/seedance-2.5-flash/reference-to-video

Prezzo

OpzioneUSD
resolution = 480p, with_video = true$0.077 per secondo generato
resolution = 480p, with_video = false$0.116 per secondo generato
resolution = 720p, with_video = true$0.147 per secondo generato
resolution = 720p, with_video = false$0.224 per secondo generato

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 20.000 caratteriThe 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_urlsFacoltativoarray<string (uri)>—fino a 10 elementiUp to 10 images of people, products, places or a look to keep, named @Image 1, @Image 2 and so on. Free.
reference_video_urlsFacoltativoarray<string (uri)>—fino a 5 elementiUp 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_urlsFacoltativoarray<string (uri)>—fino a 5 elementiUp to 5 voice, music or sound clips, 30 seconds in total, named @Audio 1 and so on. Free.
aspect_ratioFacoltativostring16:916:9, 9:16, 4:3, 3:4, 1:1, 21:9, adaptiveFrame shape: 16:9 (default), 9:16, 4:3, 3:4, 1:1, 21:9, or adaptive to let the model choose.
resolutionFacoltativostring720p480p, 720p480p or 720p (default). Sets the per-second rate.
duration_secondsFacoltativointeger5da 4 a 30Clip length in whole seconds, 4 to 30 (default 5).
generate_audioFacoltativobooleantrue—Generate a soundtrack with the picture (default on). Does not change the price.
output_formatFacoltativostringmp4mp4, movContainer: mp4 (default) or mov, which keeps more colour detail for further editing. Free.
return_last_frameFacoltativobooleanfalse—Also return the clip's closing frame as a separate image (default off). Free.
watermarkFacoltativobooleanfalse—Add a visible AI-generated watermark to the clip (default off). Free.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in reference_image_urls. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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"
  }
}'

La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Modifica video

bytedance/seedance-2.5-flash/video-edit

Prezzo

OpzioneUSD
480p$0.195 per secondo generato
720p$0.36 per secondo generato

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 20.000 caratteriThe change to make, then what must stay the same. Name reference images as @Image 1 and audio as @Audio 1.
video_urlObbligatoriostring (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_urlsFacoltativoarray<string (uri)>—fino a 10 elementiOptional images showing the target look, such as a garment, prop, face or palette, named @Image 1 and so on. Free.
reference_audio_urlsFacoltativoarray<string (uri)>—fino a 5 elementiOptional audio, 30 seconds in total, that steers the new soundtrack, named @Audio 1 and so on. Free.
resolutionFacoltativostring720p480p, 720p480p or 720p (default). 480p costs half as much per source second.
generate_audioFacoltativobooleantrue—On: write a new soundtrack for the edited picture. Off: keep the source clip's original sound.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in video_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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"
  }
}'

La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Allunga video

bytedance/seedance-2.5-flash/video-extend

Prezzo

OpzioneUSD
480p$0.116 per secondo generato
720p$0.224 per secondo generato

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 20.000 caratteriRequired. What happens after the clip's last frame: the next action, the camera move and the sound.
video_urlObbligatoriostring (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_urlFacoltativostring (uri)——Optional end frame: the new segment finishes on this picture. The opening frame always comes from your clip.
resolutionFacoltativostring720p480p, 720pResolution of the new segment: 480p or 720p (default). The per-second rate depends on it; pick the one closest to your source.
duration_secondsFacoltativointeger5da 4 a 30Length of the new segment in whole seconds, 4 to 30 (default 5). Billed per requested second; the source clip is not billed.
generate_audioFacoltativobooleantrue—Generate sound for the new segment (default on). Your clip keeps its own soundtrack either way; the price does not change.
watermarkFacoltativobooleanfalse—Add the model's visible AI-generated watermark to the new segment (default off). Free.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in video_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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"
  }
}'

La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Passi successivi

In questa pagina