Skip to main content
Glama

seedance_generate_video_from_image

Generate AI video from reference images using first frame, last frame, or style guidance. Animate specific images or create smooth transitions between two images.

Instructions

Generate AI video using reference images with ByteDance Seedance.

This allows you to control the video by specifying first frame, last frame,
or reference images. Seedance will generate smooth motion based on the inputs.

Use this when:
- You have a specific image you want to animate
- You want to create a video transition between two images
- You need style guidance from reference images
- You need precise control over the video's visual content

Note: reference_image_urls cannot be combined with first_frame_url/last_frame_url.
At least one image input must be provided.

Returns:
    Task ID and generated video information including URLs and metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the video motion and content. Describe what should happen in the video, how objects should move, what transitions to include.
first_frame_urlNoURL of the image to use as the first frame of the video. The video will animate from this image. Supports https:// URLs or base64 data:image/... URIs.
last_frame_urlNoURL of the image to use as the last frame of the video. The video will animate towards this image. Supports https:// URLs or base64 data:image/... URIs.
reference_image_urlsNoList of reference image URLs for style/content guidance. These images influence the look but are not used as frames. Cannot be combined with first_frame_url or last_frame_url.
modelNoModel version to use. Use 'doubao-seedance-2-0-260128' for latest generation quality, 'doubao-seedance-2-0-fast-260128' for latest generation speed, For image-to-video, consider 'doubao-seedance-1-0-lite-i2v-250428' for lightweight I2V, or any Pro model for higher quality.doubao-seedance-1-0-pro-250528
resolutionNoVideo resolution. Options: '480p', '720p', '1080p'.720p
ratioNoVideo aspect ratio. Use 'adaptive' to match your input image ratio.16:9
durationNoVideo duration in seconds. Range: 2-12. Default is 5. Mutually exclusive with 'frames'.
framesNoFrame count for the generated video. Must satisfy 25+4n (e.g. 29, 33, 37, ..., 289). Mutually exclusive with 'duration'.
generate_audioNoIf true, generate audio. Only supported by 1.5 Pro model. Default is false.
service_tierNoService tier. 'default' or 'flex' (50%% cheaper). Default is 'default'.default
seedNoRandom seed. -1 for random. Default is -1.
return_last_frameNoIf true, return the last frame of the generated video. Default is false.
callback_urlNoWebhook callback URL for asynchronous notifications.
execution_expires_afterNoTask timeout threshold in seconds. Default is 172800 (48 hours).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Describes video generation with images, constraint on combining parameters, and return of task ID and video info. Mentions callback for async. Lacks details on state mutation, cost, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with paragraphs and bullet points. First sentence is clear. Not overly verbose, though some repetition ('Seedance will generate smooth motion') could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all key aspects: image inputs, model options, resolution, ratio, duration/frames, audio, service tier, seed, callback, timeout. Output schema exists, so return detail is sufficient. No significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. Description adds value by clarifying mutual exclusivity of reference_image_urls with first/last frame URLs and requiring at least one image. Also summarizes return values, which is extra context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states 'Generate AI video using reference images with ByteDance Seedance.' Specifies control via first frame, last frame, or reference images. Differentiates from sibling seedance_generate_video by focusing on image inputs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use bullet points: specific image animation, transitions, style guidance, precise visual control. Also states constraint that reference_image_urls cannot be combined with first_frame_url/last_frame_url, and requires at least one image input.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/SeedanceMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server