Skip to main content
Glama

image_to_video

Convert a still image into a video by creating a Wan task on RunAPI, returning task ID, status, and output URLs.

Instructions

Create a Wan task on RunAPI (image to video). Returns a task id, status, and output URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoDeclared type: integer.
waitNoPoll until the task reaches a terminal status.
audioNoDeclared type: boolean.
modelNoRunAPI model slug for this model line.
ratioNoDeclared type: string.
promptNoDeclared type: string.
watermarkNoDeclared type: boolean.
timeout_msNo
multi_shotsNoDeclared type: boolean.
accelerationNoDeclared type: string.
aspect_ratioNoDeclared type: string.
callback_urlNoDeclared type: string.
negative_promptNoDeclared type: string.
duration_secondsNoDeclared type: integer.
poll_interval_msNo
source_video_urlNoDeclared type: string.
driving_audio_urlNoDeclared type: string.
output_resolutionNoDeclared type: string. Known values: "480p", "720p", "1080p".
background_audio_urlNoDeclared type: string.
last_frame_image_urlNoDeclared type: string.
enable_safety_checkerNoDeclared type: boolean.
first_frame_image_urlNoDeclared type: string.
enable_prompt_expansionNoDeclared type: boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changedv0.2.0
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • addedInput schema / properties / acceleration / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / aspect_ratio / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / audio / description
      Added value: +"Declared type: boolean."
    • addedInput schema / properties / background_audio_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / callback_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / driving_audio_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / duration_seconds / description
      Added value: +"Declared type: integer."
    • changedInput schema / properties / duration_seconds / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / enable_prompt_expansion / description
      Added value: +"Declared type: boolean."
    • addedInput schema / properties / enable_safety_checker / description
      Added value: +"Declared type: boolean."
    • addedInput schema / properties / first_frame_image_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / last_frame_image_url / description
      Added value: +"Declared type: string."
    • removedInput schema / properties / model / enum
      Removed value: -[
      -  "wan-2.2-a14b-image-to-video-turbo",
      -  "wan-2.5-image-to-video",
      -  "wan-2.6-flash-image-to-video",
      -  "wan-2.6-image-to-video",
      -  "wan-2.7-image-to-video"
      -]
    • addedInput schema / properties / multi_shots / description
      Added value: +"Declared type: boolean."
    • addedInput schema / properties / negative_prompt / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / output_resolution / description
      Added value: +"Declared type: string. Known values: \"480p\", \"720p\", \"1080p\"."
    • removedInput schema / properties / output_resolution / enum
      Removed value: -[
      -  "480p",
      -  "720p",
      -  "1080p"
      -]
    • addedInput schema / properties / poll_interval_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / prompt / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / ratio / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / seed / description
      Added value: +"Declared type: integer."
    • changedInput schema / properties / seed / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / source_video_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / timeout_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / watermark / description
      Added value: +"Declared type: boolean."
    • addedInput schema / required
      Added value: +[]
  2. Changed18 schema fields changedv0.1.9
    • addedInput schema / properties / acceleration
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / aspect_ratio
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / audio / type
      Added value: +"boolean"
    • addedInput schema / properties / background_audio_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / callback_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / driving_audio_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / duration_seconds / type
      Added value: +"number"
    • addedInput schema / properties / enable_prompt_expansion
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / enable_safety_checker
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / first_frame_image_url / type
      Added value: +"string"
    • addedInput schema / properties / last_frame_image_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / multi_shots
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / negative_prompt
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / prompt / type
      Added value: +"string"
    • addedInput schema / properties / ratio
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / seed
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / source_video_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / watermark
      Added value: +{
      +  "type": "boolean"
      +}
  3. First observedv0.1.6

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose that this is an asynchronous task-creation call returning a task id, status, and output URLs. It says nothing about authentication, cost, rate limits, failure behavior, or what the 'wait' polling default implies; for a 23-parameter generation tool with zero annotation coverage this is only partially adequate.

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?

Two tight sentences with the verb and resource front-loaded and the return shape compactly stated; nothing is wasted. It is arguably under-specified for the tool's complexity, but that is a completeness concern rather than a verbosity one.

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

Completeness2/5

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

For a task with 23 parameters, no required fields, no annotations, and no output schema, the description leaves major gaps: which image fields to supply, how model/ratio/duration interact, and what the polling behavior actually does. The return-value sentence is the only substantive addition, and it is not enough.

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

Parameters3/5

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

Schema description coverage is reported at 91%, so the baseline is 3 even though the description adds no parameter-level meaning. In practice most schema entries are placeholders ('Declared type: integer'), so the description does nothing to explain key knobs like first_frame_image_url, last_frame_image_url, ratio, or wait.

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

Purpose4/5

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

States a specific verb (create) and resource (a Wan image-to-video task on RunAPI), and the parenthetical 'image to video' distinguishes it from text_to_video, edit_video, and speech_to_video siblings. However, it never clarifies which input fields constitute the 'image' input, which matters given the tool has zero required parameters.

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

Usage Guidelines2/5

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

No when-to-use guidance, no conditions, and no mention of alternatives such as text_to_video or animate, despite several closely related siblings. The agent must infer selection purely from the tool name.

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