Model Car

Transform any car photo into a collectible 1/7 scale BANDAI-style figurine using AI.

POST
/api/v1/models/model-car

Create 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 flat

Request Body

NameTypeDescription
imageUrlrequiredstringSource image URL to transform
promptstringDefault: DEFAULT_PROMPTOptional override prompt for the figurine scene
aspectRatiostringDefault: 1:1Output 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

NameTypeDescription
imageUrlstringPublic URL of the generated image
mimeTypestringImage MIME type (image/png)
modestringOperation mode (always 'edit')
creditsChargednumberCredits deducted for this request
durationMsnumberProcessing time in milliseconds