Actions10
- Generative Content Actions
- Library Actions
- Task Actions
Generative Content → Generate Video
AI-generatedSummary
Generate a video by providing the URL of a first frame image, optionally an end frame image, and specifying video duration, aspect ratio, and optional prompt parameters to guide the generation. Optionally set a webhook URL to receive asynchronous generation results.
Inputs
- Authentication (required) — Select API Key or OAuth2 to authenticate with the Dreem API.
- First Frame URL (required) — URL of the first frame image (start frame) for the video.
- Last Frame URL — URL of the last frame image (end frame), optional to define the video's end frame.
- Duration (required) — Choose the length of the generated video, either 5 or 10 seconds.
- Output Aspect Ratio (required) — Select the video aspect ratio; supported values are 1:1 (Square), 3:4, and 9:16 (Portrait).
- Prompt Name or ID — Optionally select a video generation prompt from the Dreem library to guide the video creation.
- Prompt (Custom Text) — Optionally provide a custom text prompt to guide video generation instead of selecting a preset prompt.
- Webhook URL — Provide a URL to receive generation results asynchronously via a webhook callback.
Output shape
a list of items each containing the JSON response from the Dreem API for the video generation request
The response includes generation task details and request metadata. If a webhook URL is provided, further generation results will be delivered to that endpoint asynchronously.