Claude MCP
Claude MCP example
A ready-to-paste prompt and approval checklist for running medux_video_generate_first_last_frame_to_video from Claude.
View on GitHubCreate a transition between a first frame and a last frame.
Model
Prompt *
Task name (optional)
First and last frames
0 / 2
Select multiple images or drag them here
First Frame
Add image
Last Frame
Add image
Clarity
Aspect ratio
Duration
First and last frames: attach at least 2 files.
Preview
Capability: generate.video.first_last_frame_to_video
Retrieve account availability, rates and current constraints before submitting:
GET /api/app/v1/capabilities/generate.video.first_last_frame_to_video/modelsRequest a quote with the same model and generation parameters:
POST /api/app/v1/media_model_credit_estimatesInclude capability_id in the quote request. Only submit when can_execute and has_enough_credits are true. Task responses contain status, capability, model, effective parameters and estimated/final credits. Poll GET /api/app/v1/generate/tasks/{task_id} until SUCCEEDED, FAILED or EXPIRED.
Lightweight generation for batch drafts. Real human faces are not supported.
Duration: 4, 5, 6, 8, 10, 12, 15; resolution: 480p, 720p; aspect ratio: 9:16, 16:9, 3:4, 4:3, 1:1
image_file_ids: 2–2 image files in order: first_frame, last_frame
At most 2 reference files in total.
POST /api/app/v1/generate/video/first_last_frame_to_video
{
"model_id": "seedance-2-0-mini",
"prompt": "A cinematic scene with gentle camera motion.",
"clarity": "720p",
"aspect_ratio": "9:16",
"duration_seconds": 4,
"image_file_ids": [
"first_frame_file_id",
"last_frame_file_id"
]
}Fast generation for previews and iteration. Real human faces are not supported.
Duration: 4, 5, 6, 8, 10, 12, 15; resolution: 480p, 720p; aspect ratio: 9:16, 16:9, 3:4, 4:3, 1:1
image_file_ids: 2–2 image files in order: first_frame, last_frame
At most 2 reference files in total.
POST /api/app/v1/generate/video/first_last_frame_to_video
{
"model_id": "seedance-2-0-fast",
"prompt": "A cinematic scene with gentle camera motion.",
"clarity": "720p",
"aspect_ratio": "9:16",
"duration_seconds": 4,
"image_file_ids": [
"first_frame_file_id",
"last_frame_file_id"
]
}General video generation balancing image quality and control. Real human faces are not supported.
Duration: 4, 5, 6, 8, 10, 12, 15; resolution: 480p, 720p, 1080p, 2160p; aspect ratio: 9:16, 16:9, 3:4, 4:3, 1:1
image_file_ids: 2–2 image files in order: first_frame, last_frame
At most 2 reference files in total.
POST /api/app/v1/generate/video/first_last_frame_to_video
{
"model_id": "seedance-2-0",
"prompt": "A cinematic scene with gentle camera motion.",
"clarity": "720p",
"aspect_ratio": "9:16",
"duration_seconds": 4,
"image_file_ids": [
"first_frame_file_id",
"last_frame_file_id"
]
}Improved camera motion and reference control for short films. Real human faces are not supported.
Duration: 4, 5, 6, 8, 10, 12, 15, 20, 25, 30; resolution: 480p, 720p, 1080p; aspect ratio: 9:16, 16:9, 3:4, 4:3, 1:1
image_file_ids: 2–2 image files in order: first_frame, last_frame
At most 2 reference files in total.
POST /api/app/v1/generate/video/first_last_frame_to_video
{
"model_id": "seedance-2-5",
"prompt": "A cinematic scene with gentle camera motion.",
"clarity": "720p",
"aspect_ratio": "9:16",
"duration_seconds": 4,
"image_file_ids": [
"first_frame_file_id",
"last_frame_file_id"
]
}Video generation from text or image references; omni reference accepts images only.
Duration: 4, 5, 6, 8, 10, 12, 15; resolution: 768p, 1440p; aspect ratio: 9:16, 16:9, 3:4, 4:3, 1:1
image_file_ids: 2–2 image files in order: first_frame, last_frame
At most 2 reference files in total.
POST /api/app/v1/generate/video/first_last_frame_to_video
{
"model_id": "minimax-h3",
"prompt": "A cinematic scene with gentle camera motion.",
"clarity": "768p",
"aspect_ratio": "9:16",
"duration_seconds": 4,
"image_file_ids": [
"first_frame_file_id",
"last_frame_file_id"
]
}Build with Medux
Every Medux tool has open examples on GitHub: copy a prompt for Claude or Codex, or start from a working API request.
Claude MCP
A ready-to-paste prompt and approval checklist for running medux_video_generate_first_last_frame_to_video from Claude.
View on GitHubCodex MCP
The same workflow for Codex: expected tool call, arguments to review and how to verify the result.
View on GitHubREST API
Request fields, curl, Python and JavaScript samples, and response handling for this endpoint.
View on GitHub