Skip to main content
Glama

sora_generate_video_from_image

Convert static images into AI videos by describing motion and uploading reference photos. Animate artwork and scenes while preserving visual style using OpenAI Sora.

Instructions

Generate an AI video from reference images using Sora (Image-to-Video).

This allows you to animate or create videos based on provided images.
The AI will use the images as visual references for the generated video.

Use this when:
- You have reference images you want to animate
- You want the video to match a specific visual style
- You want to bring static images to life

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the video to generate based on the image. Describe the action or motion you want to see.
image_urlsYesList of reference image URLs to use for video generation. Can be image URLs or Base64 encoded images.
modelNoSora model version. 'sora-2' or 'sora-2-pro' for higher quality.sora-2
sizeNoVideo resolution. 'small' for lower resolution, 'large' for higher resolution.large
durationNoVideo duration in seconds. Options: 10, 15, or 25 (25 only for sora-2-pro).
orientationNoVideo orientation. 'landscape', 'portrait'.landscape

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It successfully discloses the async pattern by mentioning 'Task ID' and 'state' in returns, but omits critical behavioral traits like polling requirements (despite the existence of 'sora_get_task'), rate limits, cost implications, or data retention policies.

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?

The description follows a logical hierarchy: purpose statement → capability elaboration → usage conditions → return values. Each sentence earns its place with no tautology, though the three bullet points under 'Use this when' have slight overlap ('animate' vs 'bring static images to life').

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

Completeness4/5

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

Given the tool's complexity (6 parameters, async behavior) and the existence of an output schema (per context signals), the description adequately covers the return contract (Task ID, URLs, state). It appropriately focuses on the image-to-video differentiation rather than repeating full schema documentation.

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 100%, establishing a baseline of 3. The description adds marginal semantic value by explaining that the AI 'will use the images as visual references,' but does not elaborate on parameter interactions (e.g., duration constraints with specific models) beyond the schema itself.

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?

The description opens with a specific verb-resource combination ('Generate an AI video from reference images') and explicitly identifies the modality as 'Image-to-Video' using 'Sora'. This clearly distinguishes it from sibling text-to-video tools like 'sora_generate_video'.

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

Usage Guidelines4/5

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

The 'Use this when:' section provides three concrete scenarios (animating reference images, matching visual styles, bringing static images to life) that help the agent identify appropriate contexts. However, it lacks explicit negative guidance (when NOT to use this vs. text-to-video alternatives).

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/MCPSora'

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