Video
Spoken lines
Make the people in a video speak: write the line in quotes next to a speech word, or in curly braces, in the prompt.
This page uses NURETA_URL, NURETA_KEY and the wait_task helper from Get started.
There is no separate field for speech: write the line in the prompt. Put it in quotes right next to a speech word (says, whispers, moans, asks …), or in curly braces. This example is a 5-second clip on seedance2.0-fast at 480p ($0.33). Spoken lines work the same way on the seahorse-* models.
TASK_ID=$(curl -s -X POST "$NURETA_URL/api/v3/contents/generations/tasks" \
-H "Authorization: Bearer $NURETA_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance2.0-fast",
"resolution": "480p",
"duration": 5,
"content": [{"type": "text", "text": "A woman sits at a sunny cafe table, lifts her cup, smiles at the camera and says \"This coffee is perfect.\""}]
}' | jq -r .id)
wait_task "$NURETA_URL/api/v3/contents/generations/tasks/$TASK_ID" | jq '{status, video: .content.video_url, error}'- Quotes:
She says "This coffee is perfect."In JSON, escape the quotes as\", as in the example. - Curly braces:
She leans in. {I missed you.}Use them when the line has no speech word next to it. - Keep it short: a 5-second clip has room for about one sentence. A longer video can have a line in each shot.
- Sound must be on:
generate_audiomust staytrue(the default). Withfalse, the video has no sound at all. - On a
seahorse-*model with a cast, use the person's name in the line ("Mia whispers …"), so the right person speaks.