Mage API · Video model
Cherry API
Our flagship video family
POST https://api.mage.space/v1/cherry/generateAt a glance
The Cherry API runs Cherry 2 Pro and 3 other variants through Mage at POST https://api.mage.space/v1/cherry/generate. A request at the default settings costs 618 Gems (about $0.618), with no subscription. Cherry takes saved characters, references, audio references by @handle in the prompt.
- VideoOutput
- 4Variants
- 618Gems per clip, default
- $0.618About, in USD
Overview
What the Cherry API does
Cinematic video with audio, from Cherry Mini for drafts to Cherry 2 Pro, our most powerful model, with clips up to 30 seconds, many references or Characters, and source-video edits.
Mage's flagship video line, with cinematic motion and audio: Cherry Mini, Cherry, Cherry Pro, and Cherry 2 Pro, the most powerful, with clips up to 30 seconds.
It accepts image, additional_images, videos as inputs.
Quick start
Call the Cherry API
Set MAGE_API_KEY, submit to /cherry/generate, and poll status_url until the request completes.
cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/cherry/generate' \
--header "Authorization: Bearer $MAGE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",
"aspect_ratio": "16:9",
"duration": "4",
"model_id": "cherry-2-pro"
}' | jq -r '.status_url')
# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"TypeScript
// npm install @mage-space/sdk
import Mage from '@mage-space/sdk';
const mage = new Mage(); // reads MAGE_API_KEY
const request = await mage.run('cherry', {
prompt: 'A slow push-in on a lighthouse at dusk, waves breaking below',
aspect_ratio: '16:9',
duration: '4',
model_id: 'cherry-2-pro',
});
console.log(request.result.url);Python
# pip install mage-space
from mage_space import Mage
mage = Mage() # reads MAGE_API_KEY
request = mage.run("cherry", {
"prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",
"aspect_ratio": "16:9",
"duration": "4",
"model_id": "cherry-2-pro",
})
print(request["result"]["url"])Models
Cherry model_id values
Send model_id to pick a variant. A request without one runs the default.
| model_id | Name | Default |
|---|---|---|
| cherry-mini | Cherry Mini | |
| cherry | Cherry | |
| cherry-pro | Cherry Pro | |
| cherry-2-pro | Cherry 2 Pro | Yes |
Options
Cherry parameters
Allowed values across all variants; a variant may offer fewer. The docs list the options per variant.
| Field | Values |
|---|---|
| aspect_ratio | 16:9, 9:16, 1:1 |
| resolution | 480p, 720p, 1080p, 4k |
| duration | 4, 5, 8, 10, 15, 20, 25, 30 |
Inputs
Media inputs Cherry accepts
Send each as an https URL, a data URL, or an upload of up to 100 MB.
| Field | Role |
|---|---|
| image | The reference image. |
| additional_images | Additional reference images. |
| videos | The source videos. |
Rules
What the Cherry API enforces
- Video editing takes exactly one source video, of 4 to 30 seconds on `cherry-2-pro` and 2 to 15 seconds on the other models.
- On `cherry-2-pro` an edit keeps its source video's length and aspect ratio: `duration` and `aspect_ratio` are ignored, and the price follows the video's length.
More video models
Other video generation APIs on Mage
Grok Video API
Grok Imagine, in motion
Kiwi API
Everyday video, zero setup
Lemon API
Every video feature, at a friendlier price
LTX Video API
Fast open-weights video for iteration
Magejutsu API
Recast any video, keeping its motion
Melon API
Anime in motion, with optional audio
FAQ
Frequently asked questions
How much does the Cherry API cost?
What is the Cherry API endpoint?
Which Cherry models can I call?
Does Cherry support reference images or characters?
Can I use Cherry from Claude or ChatGPT?
How long are Cherry results kept?
Start building with Mage
One account, one Gems balance, every model. Pay only for what you generate.