Model Car
Transform any car photo into a collectible 1/7 scale BANDAI-style figurine using AI.
POST
/api/v1/models/model-carCreate a commercialized figurine scene from a source image
Default Prompt
If you omit
prompt, the workflow uses the default prompt below.DEFAULT_PROMPTtext
Using the model, create a 1/7 scale commercialized figurine of the characters in the picture, in a realistic style, in a real environment. The figurine is placed on a computer desk. The figurine has a round transparent acrylic base, with no text on the base. The content on the computer screen is the Zbrush modeling process of this figurine. Next to the computer screen is a BANDAI-style toy packaging box printed with the original artwork. The packaging features two-dimensional flatRequest Body
| Name | Type | Description |
|---|---|---|
imageUrlrequired | string | Source image URL to transform |
prompt | stringDefault: DEFAULT_PROMPT | Optional override prompt for the figurine scene |
aspectRatio | stringDefault: 1:1 | Output aspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9) |
Example
"text">-purple-600">curl "text-blue-600">-X POST https://vydra.app/api/v1/models/model"text-blue-600">-car \
"text-blue-600">-H "Authorization: Bearer YOUR_API_KEY" \
"text-blue-600">-H "Content">-Type: application/json" \
"text-blue-600">-d '{
"imageUrl": "https://pub">-xxx.r2.dev/uploads/car.jpg"
}'Response
200 OKjson
{
"imageUrl": "https://pub-xxx.r2.dev/generated/model-car/org_123/1706234400000.png",
"mimeType": "image/png",
"mode": "edit",
"creditsCharged": 8,
"durationMs": 6240
}Response Fields
| Name | Type | Description |
|---|---|---|
imageUrl | string | Public URL of the generated image |
mimeType | string | Image MIME type (image/png) |
mode | string | Operation mode (always 'edit') |
creditsCharged | number | Credits deducted for this request |
durationMs | number | Processing time in milliseconds |