Skip to main content
Glama

text_to_video

Create videos from text prompts via Seedance models on RunAPI, returning a task ID, status, and output URLs.

Instructions

Create a Seedance task on RunAPI (text 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.
modelNoRunAPI model slug for this model line.
promptNoDeclared type: string.
timeout_msNo
web_searchNoDeclared type: boolean.
lock_cameraNoDeclared type: boolean.
aspect_ratioNoDeclared type: string. Known values: "1:1", "4:3", "3:4", "16:9", "9:16", "21:9", "auto".
callback_urlNoDeclared type: string.
output_formatNoOutput video container format. Declared type: string. Known values: "mp4", "mov".
generate_audioNoDeclared type: boolean.
duration_secondsNoDeclared type: integer.
poll_interval_msNo
output_resolutionNoDeclared type: string. Known values: "480p", "720p", "1080p", "4k".
return_last_frameNoWhether to return the generated video's last frame. Declared type: boolean.
source_image_urlsNoDeclared type: array.
last_frame_image_urlNoDeclared type: string.
reference_audio_urlsNoDeclared type: array.
reference_image_urlsNoDeclared type: array.
reference_video_urlsNoDeclared type: array.
enable_safety_checkerNoDeclared type: boolean.
first_frame_image_urlNoDeclared type: string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed33 schema fields changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +{}
    • removedInput schema / properties / aspect_ratio / anyOf
      Removed value: -[
      -  {
      -    "const": "1:1",
      -    "type": "string"
      -  },
      -  {
      -    "const": "4:3",
      -    "type": "string"
      -  },
      -  {
      -    "const": "3:4",
      -    "type": "string"
      -  },
      -  {
      -    "const": "16:9",
      -    "type": "string"
      -  },
      -  {
      -    "const": "9:16",
      -    "type": "string"
      -  },
      -  {
      -    "const": "21:9",
      -    "type": "string"
      -  },
      -  {
      -    "const": "auto",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / aspect_ratio / description
      Added value: +"Declared type: string. Known values: \"1:1\", \"4:3\", \"3:4\", \"16:9\", \"9:16\", \"21:9\", \"auto\"."
    • addedInput schema / properties / aspect_ratio / type
      Added value: +"string"
    • addedInput schema / properties / callback_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / duration_seconds / description
      Added value: +"Declared type: integer."
    • removedInput schema / properties / duration_seconds / maximum
      Removed value: -12
    • removedInput schema / properties / duration_seconds / minimum
      Removed value: -4
    • changedInput schema / properties / duration_seconds / type
      Previous value: -"number"New value: +"integer"
    • 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 / generate_audio / description
      Added value: +"Declared type: boolean."
    • addedInput schema / properties / last_frame_image_url / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / lock_camera / description
      Added value: +"Declared type: boolean."
    • removedInput schema / properties / model / enum
      Removed value: -[
      -  "seedance-1.5-pro",
      -  "seedance-2-mini",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-2.5",
      -  "seedance-v1-pro",
      -  "seedance-v1-pro-fast"
      -]
    • removedInput schema / properties / output_format / anyOf
      Removed value: -[
      -  {
      -    "const": "mp4",
      -    "type": "string"
      -  },
      -  {
      -    "const": "mov",
      -    "type": "string"
      -  }
      -]
    • changedInput schema / properties / output_format / description
      Previous value: -"Output video container format."New value: +"Output video container format. Declared type: string. Known values: \"mp4\", \"mov\"."
    • addedInput schema / properties / output_format / type
      Added value: +"string"
    • removedInput schema / properties / output_resolution / anyOf
      Removed value: -[
      -  {
      -    "const": "480p",
      -    "type": "string"
      -  },
      -  {
      -    "const": "720p",
      -    "type": "string"
      -  },
      -  {
      -    "const": "1080p",
      -    "type": "string"
      -  },
      -  {
      -    "const": "4k",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / output_resolution / description
      Added value: +"Declared type: string. Known values: \"480p\", \"720p\", \"1080p\", \"4k\"."
    • addedInput schema / properties / output_resolution / type
      Added value: +"string"
    • addedInput schema / properties / prompt / description
      Added value: +"Declared type: string."
    • addedInput schema / properties / reference_audio_urls / description
      Added value: +"Declared type: array."
    • addedInput schema / properties / reference_image_urls / description
      Added value: +"Declared type: array."
    • addedInput schema / properties / reference_video_urls / description
      Added value: +"Declared type: array."
    • changedInput schema / properties / return_last_frame / description
      Previous value: -"Whether to return the generated video's last frame."New value: +"Whether to return the generated video's last frame. Declared type: boolean."
    • addedInput schema / properties / seed / description
      Added value: +"Declared type: integer."
    • removedInput schema / properties / seed / maximum
      Removed value: -2147483647
    • removedInput schema / properties / seed / minimum
      Removed value: --1
    • changedInput schema / properties / seed / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / source_image_urls / description
      Added value: +"Declared type: array."
    • addedInput schema / properties / web_search / description
      Added value: +"Declared type: boolean."
    • addedInput schema / required
      Added value: +[]
  2. Changed12 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / aspect_ratio / anyOf
      Added value: +[
      +  {
      +    "const": "1:1",
      +    "type": "string"
      +  },
      +  {
      +    "const": "4:3",
      +    "type": "string"
      +  },
      +  {
      +    "const": "3:4",
      +    "type": "string"
      +  },
      +  {
      +    "const": "16:9",
      +    "type": "string"
      +  },
      +  {
      +    "const": "9:16",
      +    "type": "string"
      +  },
      +  {
      +    "const": "21:9",
      +    "type": "string"
      +  },
      +  {
      +    "const": "auto",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / aspect_ratio / enum
      Removed value: -[
      -  "1:1",
      -  "4:3",
      -  "3:4",
      -  "16:9",
      -  "9:16",
      -  "21:9",
      -  "auto"
      -]
    • removedInput schema / properties / aspect_ratio / type
      Removed value: -"string"
    • addedInput schema / properties / output_format / anyOf
      Added value: +[
      +  {
      +    "const": "mp4",
      +    "type": "string"
      +  },
      +  {
      +    "const": "mov",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / output_format / enum
      Removed value: -[
      -  "mp4",
      -  "mov"
      -]
    • removedInput schema / properties / output_format / type
      Removed value: -"string"
    • addedInput schema / properties / output_resolution / anyOf
      Added value: +[
      +  {
      +    "const": "480p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "720p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "1080p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "4k",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / output_resolution / enum
      Removed value: -[
      -  "480p",
      -  "720p",
      -  "1080p",
      -  "4k"
      -]
    • removedInput schema / properties / output_resolution / type
      Removed value: -"string"
    • addedInput schema / properties / poll_interval_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / timeout_ms / maximum
      Added value: +9007199254740991
  3. Changed3 schema fields changedv0.1.12
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedance-1.5-pro",
      -  "seedance-2-mini",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-v1-pro",
      -  "seedance-v1-pro-fast"
      -]New value: +[
      +  "seedance-1.5-pro",
      +  "seedance-2-mini",
      +  "seedance-2.0",
      +  "seedance-2.0-fast",
      +  "seedance-2.5",
      +  "seedance-v1-pro",
      +  "seedance-v1-pro-fast"
      +]
    • addedInput schema / properties / output_format
      Added value: +{
      +  "description": "Output video container format.",
      +  "enum": [
      +    "mp4",
      +    "mov"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / return_last_frame
      Added value: +{
      +  "description": "Whether to return the generated video's last frame.",
      +  "type": "boolean"
      +}
  4. Changed2 schema fields changedv0.1.11
    • changedInput schema / properties / aspect_ratio / enum
      Previous value: -[
      -  "1:1",
      -  "4:3",
      -  "3:4",
      -  "16:9",
      -  "9:16",
      -  "21:9",
      -  "auto",
      -  "9:21"
      -]New value: +[
      +  "1:1",
      +  "4:3",
      +  "3:4",
      +  "16:9",
      +  "9:16",
      +  "21:9",
      +  "auto"
      +]
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedance-1.5-pro",
      -  "seedance-2-mini",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-v1-lite",
      -  "seedance-v1-pro",
      -  "seedance-v1-pro-fast"
      -]New value: +[
      +  "seedance-1.5-pro",
      +  "seedance-2-mini",
      +  "seedance-2.0",
      +  "seedance-2.0-fast",
      +  "seedance-v1-pro",
      +  "seedance-v1-pro-fast"
      +]
  5. Changed2 schema fields changedv0.1.9
    • addedInput schema / properties / seed / maximum
      Added value: +2147483647
    • addedInput schema / properties / seed / minimum
      Added value: +-1
  6. Changed19 schema fields changedv0.1.7
    • addedInput schema / properties / callback_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / enable_safety_checker
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / first_frame_image_url / type
      Added value: +"string"
    • addedInput schema / properties / generate_audio
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / last_frame_image_url / type
      Added value: +"string"
    • addedInput schema / properties / lock_camera
      Added value: +{
      +  "type": "boolean"
      +}
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedance-1.5-pro",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-v1-lite",
      -  "seedance-v1-pro",
      -  "seedance-v1-pro-fast"
      -]New value: +[
      +  "seedance-1.5-pro",
      +  "seedance-2-mini",
      +  "seedance-2.0",
      +  "seedance-2.0-fast",
      +  "seedance-v1-lite",
      +  "seedance-v1-pro",
      +  "seedance-v1-pro-fast"
      +]
    • changedInput schema / properties / output_resolution / enum
      Previous value: -[
      -  "480p",
      -  "720p",
      -  "1080p"
      -]New value: +[
      +  "480p",
      +  "720p",
      +  "1080p",
      +  "4k"
      +]
    • addedInput schema / properties / prompt
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / reference_audio_urls / items
      Added value: +{}
    • addedInput schema / properties / reference_audio_urls / type
      Added value: +"array"
    • addedInput schema / properties / reference_image_urls / items
      Added value: +{}
    • addedInput schema / properties / reference_image_urls / type
      Added value: +"array"
    • addedInput schema / properties / reference_video_urls / items
      Added value: +{}
    • addedInput schema / properties / reference_video_urls / type
      Added value: +"array"
    • addedInput schema / properties / seed
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / source_image_urls / items
      Added value: +{}
    • addedInput schema / properties / source_image_urls / type
      Added value: +"array"
    • addedInput schema / properties / web_search
      Added value: +{
      +  "type": "boolean"
      +}
  7. Changed3 schema fields changedv0.1.4
    • addedInput schema / properties / duration_seconds / maximum
      Added value: +12
    • addedInput schema / properties / duration_seconds / minimum
      Added value: +4
    • addedInput schema / properties / duration_seconds / type
      Added value: +"number"
  8. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose the async task model (returns task id and status) and the output shape, but says nothing about cost implications, auth requirements, whether the task is cancellable, or what happens on timeout/failure for a 22-parameter generation job.

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 sentences, no filler, and the core action is front-loaded before the return-value note. Slightly compressed given the tool's 22 parameters, but every sentence earns its place.

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 22-parameter generative task tool with no annotations and no output schema, the description is thin: it omits how to retrieve results later (get_task), default model selection, and cost/pricing context. The return-shape sentence is the only substantive content.

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 91%, so the schema already documents nearly all parameters; the description adds no parameter-level meaning beyond the 'text to video' framing. Baseline 3 is appropriate when the schema does the heavy lifting.

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) plus resource (Seedance task on RunAPI) and modality (text to video), and previews the return payload. It is clearly distinguishable from get_task, but never names a sibling or contrast case explicitly.

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 at all: nothing about when to prefer this over other task-creating tools, no mention of the wait/poll_interval_ms tradeoff, no note that check_pricing or login may be prerequisites. Usage must be inferred entirely from the name.

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

Deploy Server

Other Tools