Overview
This endpoint provides image to video functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY
Request Body
model
string
default:"seedance-1-0-pro-250528"
required
The model to use for the request
Request Example
curl -X POST "https://gptproto.com/api/v3/contents/generations/tasks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"camerafixed": false,
"content": [
{
"type": "image_url",
"image_url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_i2i.jpeg"
},
{
"type": "text",
"text": "The camera pans from left to right, revealing the full scene of the image"
}
],
"framepersecond": 24,
"model": "seedance-1-0-pro-250528",
"ratio": "16:9",
"resolution": "1080p",
"seed": -1,
"watermark": false
}'
Response
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}