Midjourney Image To Video
Playground
Try it on WavespeedAI!Create stunning, high-quality video from image using Midjourney’s powerful AI. Known for exceptional artistic quality and creative interpretation.
Features
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/midjourney/image-to-video" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"resolution": "480p",
"aspect_ratio": "1:1",
"quality": 1,
"stylize": 0,
"chaos": 0,
"weird": 0,
"version": "7",
"niji": "close",
"seed": -1,
"enable_base64_output": false
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | The image for generating the output. | |
| prompt | string | Yes | - | The text prompt describing the image you want to generate. | |
| resolution | string | No | 480p | 480p, 720p | The resolution of the generated media. |
| aspect_ratio | string | No | 1:1 | 1:1, 4:3, 3:4, 2:3, 16:9, 1:2 | The aspect ratio of the generated media. |
| quality | number | No | 1 | 0.25, 0.5, 1, 2 | Use the quality parameter to control image detail and processing time. |
| stylize | integer | No | - | 0 ~ 1000 | Use the stylize parameter to control the artistic style in the image (0-1000). |
| chaos | integer | No | - | 0 ~ 100 | Use the chaos parameter to add variety to your image results (0-100). Higher values produce more unusual and unexpected results. |
| weird | integer | No | - | 0 ~ 3000 | Use the weird parameter to make your images quirky and unconventional (0-3000). |
| version | string | No | 7 | 6, 6.1, 7 | Use the version parameter to explore and switch between Midjourney model versions. |
| niji | string | No | close | close, 5, 6 | Use the Niji model focused on anime and Eastern aesthetics. |
| seed | integer | No | -1 | -1 ~ 2147483647 | Use the seed parameter for testing and experimentation. Use the same seed and prompt to get similar results. |
| enable_base64_output | boolean | No | false | - | The random seed to use for the generation. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |