Reference Linking Syntax for Video Generation

This tweet explains the syntax for linking external references (images and videos) when generating content, specifying how different media types should be used as input for character, visual style, motion, or sound. It provides examples of how to structure these links within the prompt.

Reference Linking Syntax for Video Generation

Prompt

@ image1 character reference2 @ image2 use the background as the opening frame @ video1 take the motion and sound

Runs on 13 models

  • Gemini Omni
  • Grok Imagine
  • Hailuo
  • HappyHorse
  • HeyGen Video
  • Kling
  • LTX Video
  • MiniMax H3
  • PixVerse
  • Runway
  • Seedance
  • Veo 3.1
  • +1 more

What this prompt produces

Continuous Time Journey Cinematic Video Not specified seedance-2.5
Cinematic Samurai Japanese Visuals Not specified grok-imagine
Dark Lava Creature Transformation Prompt Not specified seedance-2.0
Multi-Shot Classroom Action Timeline Not specified seedance-2.0
Hospital Corridor Horror Jumpscare Not specified seedance-2.0
Top-Down Product Zoom Video Prompt Not specified nano-banana-pro

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/seedance/text_to_video
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "seedance-2.0",
  "prompt": "@ image1 character reference2\n@ image2 use the background as the opening frame\n@ video1 take the motion and sound"
}
JSON

Try a prompt

Estimated: $0.24 / second

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.