Skip to main content
POST
/
v1
/
ai
/
video
/
seedance-2-mini-720p
Seedance 2.0 Mini 720p - Create video from text or image
curl --request POST \
  --url https://api.magnific.com/v1/ai/video/seedance-2-mini-720p \
  --header 'Content-Type: application/json' \
  --header 'x-magnific-api-key: <api-key>' \
  --data '
{
  "prompt": "A cinematic shot of a cat walking through a neon-lit alley at night",
  "webhook_url": "<string>",
  "image": "aSDinaTvuI8gbWludGxpZnk=",
  "image_end": "aSDinaTvuI8gbWludGxpZnk=",
  "duration": 5,
  "aspect_ratio": "widescreen_16_9",
  "camera_fixed": false,
  "seed": -1,
  "enable_safety_checker": true
}
'
{
  "data": {
    "generated": [],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
prompt
string
required

Text prompt describing the video to generate. Describes the scene, motion, visual style, and any desired camera movements. Maximum 2000 characters.

Maximum string length: 2000
Example:

"A cinematic shot of a cat walking through a neon-lit alley at night"

webhook_url
string<uri>

URL to receive a webhook notification when the video generation task completes. The webhook payload includes the task ID and status.

image
string<byte>

Optional image to use as the first frame for image-to-video generation. Accepts a publicly accessible URL or a base64-encoded image. When provided, the model generates a video that starts from this image.

image_end
string<byte>

Optional image to use as the last frame for image-to-video generation. When provided together with image, the model generates a transition video between the first frame and last frame. Accepts a publicly accessible URL or a base64-encoded image.

duration
enum<integer>
default:5

Video duration in seconds. Seedance 2.0 Mini supports 5-second or 10-second videos.

Available options:
5,
10
aspect_ratio
enum<string>
default:widescreen_16_9

Output video aspect ratio. Available options:

  • film_horizontal_21_9: Ultra-wide cinematic (21:9)
  • widescreen_16_9: Standard widescreen (16:9)
  • classic_4_3: Classic TV format (4:3)
  • square_1_1: Square format (1:1)
  • traditional_3_4: Portrait classic (3:4)
  • social_story_9_16: Vertical/social media story (9:16)
  • film_vertical_9_21: Ultra-tall vertical (9:21)
Available options:
film_horizontal_21_9,
widescreen_16_9,
classic_4_3,
square_1_1,
traditional_3_4,
social_story_9_16,
film_vertical_9_21
camera_fixed
boolean
default:false

When set to true, the camera position stays fixed (tripod shot) throughout the video. When false, the model may apply natural camera movements.

seed
integer
default:-1

Random seed for reproducible video generation. Use the same seed with the same prompt to get consistent results. Use -1 for a random seed.

Required range: -1 <= x <= 4294967295
enable_safety_checker
boolean
default:true

Enable content safety filtering to ensure generated videos comply with safety guidelines. When true, the model filters unsafe content.

Response

OK - The task exists and the status is returned

data
object
required
Example:
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}