Overview
This endpoint provides seedream-3.0 functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Your API key in the format: Bearer YOUR_API_KEY
Request Body
The model to use for the request
Response Format parameter
Request Example
curl -X POST "https://gptproto.com/v1/images/generations" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-3-0-t2i-250415",
"prompt": "Fisheye lens, a cat's head, the picture shows the cat's facial features are distorted due to the shooting method.",
"response_format": "url",
"size": "1024x1024",
"seed": 12,
"guidance_scale": 2.5,
"watermark": true
}'
Response
Error Responses
{
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error",
"code": "invalid_parameters"
}
}