● nureta
Docs
Video

Cast: name the people

Give the people of a video ids, names, looks and outfits with a cast, so each person stays the same in every shot.

This page uses NURETA_URL, NURETA_KEY and the wait_task helper from Get started.

The seahorse-* models (Nureta's own pipeline) take a cast: the people of the video, each with an id, a name and a look. Each person then stays the same in every shot. This example is a 5-second clip at 480p ($0.94).

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": "seahorse-480p",
    "duration": 5,
    "ratio": "9:16",
    "content": [{"type": "text", "text": "Mia sits on the sofa next to Leo. She rests her head on his shoulder and he smiles."}],
    "cast": {"members": [
      {"id": "p1", "sex": "female", "name": "Mia", "looks": "long brown hair", "outfit": "white sweater"},
      {"id": "p2", "sex": "male", "name": "Leo", "outfit": "black T-shirt"}
    ]}
  }' | jq -r .id)
DONE=$(wait_task "$NURETA_URL/api/v3/contents/generations/tasks/$TASK_ID")
printf '%s' "$DONE" | jq '{status, video: .content.video_url, cast, segment_people, input_warnings, error}'
  • members: the people, with ids p1, p2, … Use the names in the prompt. Each person keeps the looks and outfit you give unless the prompt changes them. How many people your account can use is in Cast limits.
  • A face photo is optional. Upload it as in Image to video and bind it to the person: {"type": "image_url", "image_url": {"url": "<assetUrl>"}, "person": "p1"}. A saved character works the same way: see Save a character.
  • voice: how the person sounds. See Voices.
  • POV: write "POV:" in the prompt ("POV: she smiles at me") to film from the viewer's eyes. You do not need to set cast.camera.

The task view then has cast (with the final names), segment_people (who is in each shot) and input_warnings (for example cast_story_extra_people when the prompt names more people than the cast). All the fields: Cast.

Common errors

You getWhyFix
400 cast_too_largeMore people than your account allows (error.max_people), or more people in frame than one clip can show (error.reason: "in_clip").Use fewer people, or a longer duration so the people go into different shots.
400 cast_combo_not_allowedThis mix of women and men is not open for your account. error.allowed_combos lists the mixes you can use.Change the cast.
400 InvalidParameter about cast on a Seedance modelCasts work only on seahorse-* models.Use seahorse-480p or higher.
The task fails with input_media_many_facesA person's photo shows two or more faces.Use a photo of that person alone.

On this page