Building Short Midjourney V1 Videos with an Image-to-Video API
Описание и применение
Создание коротких видео из изображения с помощью Midjourney V1 через API: подготовка изображения, настройка параметров, отправка запроса, опрос статуса и скачивание MP4.
Задача
Generate short animated clips from a single image using Midjourney V1 while controlling motion, duration, and resolution programmatically.
Результат
Successfully generated a 5‑second 480p MP4 from a single image with low motion, manual animation, and a single variant, demonstrating full programmatic control over Midjourney V1 video creation.
Рабочий процесс
- 1. Prepare a publicly accessible image URL with clear subject and suitable aspect ratio.
- 2. Decide motion level (low/high) and animation mode (automatic/manual).
- 3. Choose video type (e.g., vid_1.1_i2v_480 for 480p SD).
- 4. Construct JSON payload with prompt, videoType, mode, animateMode, motion, and batch size.
- 5. POST to https://api.cometapi.com/mj/submit/video with Authorization header.
- 6. Capture returned job ID.
- 7. Poll https://api.cometapi.com/mj/status/{job_id} until status is "completed" or "failed".
- 8. On completion, retrieve video_url from result and download the MP4.
Доказательства
Midjourney’s V1 video model is designed around a straightforward workflow: start with one still image and turn it into a short animated clip.
The request accepts an image URL in prompt, a videoType such as vid_1.1_i2v_480, a generation mode, and an animateMode.
The API is asynchronous, so the basic integration pattern is: Submit the generation request. Extract the returned job identifier. Poll the status endpoint. Download the video once the job reaches completed.
- Дата записи: 2026-09-22T16:00:34.366Z