Multimodal inputs
Send text, images, and video references in your generation prompts.
Pipevideo accepts multimodal input in the OpenAI Responses content-parts format. Combine text prompts with reference images or video clips to guide generation.
Input format
Pass input as a string for simple text prompts, or as an array of message items for multimodal content:
{
"model": "moonshotai/kimi-k2.5",
"input": [
{
"role": "user",
"content": [
{ "type": "input_text", "text": "Animate this logo with a smooth fade-in" },
{
"type": "input_image",
"image_url": {
"url": "https://example.com/logo.png",
"detail": "high"
}
}
]
}
]
}Use top-level instructions for system-level guidance instead of a system message:
{
"model": "moonshotai/kimi-k2.5",
"instructions": "You are a motion designer.",
"input": "Animate this logo with a smooth fade-in"
}Supported roles in input message items: system, user, assistant, developer.
Content part types
Input text
{ "type": "input_text", "text": "Your generation prompt" }Required for every generation — at least one text part must be present across all input items.
Input image
{
"type": "input_image",
"image_url": {
"url": "https://example.com/reference.png",
"detail": "auto"
}
}| Field | Values | Description |
|---|---|---|
url | HTTPS URL or data:image/... URI | Reference image |
detail | auto, low, high, original (optional) | Image resolution hint |
Input video
{
"type": "input_video",
"video_url": {
"url": "https://example.com/reference.mp4"
}
}Accepts HTTPS URLs or data:video/... URIs.
Canvas dimensions
Control output dimensions with optional request fields:
| Field | Type | Default | Description |
|---|---|---|---|
width | number | 1080 | Canvas width in pixels |
height | number | 1920 | Canvas height in pixels |
aspectRatio | string | — | Aspect ratio hint (e.g. 16:9) |
Example with multiple references
curl -X POST https://api.pipevideo.co/v1/responses \
-H "Authorization: Bearer pv_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshotai/kimi-k2.5",
"width": 1920,
"height": 1080,
"input": [
{
"role": "user",
"content": [
{ "type": "input_text", "text": "Create a product showcase using these brand assets" },
{ "type": "input_image", "image_url": { "url": "https://example.com/product.png" } },
{ "type": "input_image", "image_url": { "url": "https://example.com/logo.png" } }
]
}
]
}'Related
- Responses API — full request and response schema
- Video generation guide — end-to-end flow