Generate an image from chosen preset ids
generate_imageMakes an image of Indian people, regional clothing and jewellery, food, festivals, weddings, rituals, places or crafts from preset ids, not free text. Spends credits; the cost is returned in the result and by preview. Returns a task id. Refuses real or famous people's likenesses.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selection": "<selection>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | Optional. A unique id you choose for this job (a UUID is fine). If the call is repeated with the same requestId within 24 hours, the existing job comes back instead of a new render, so a retry is never charged twice. | |
| selection | Yes | ||
| imageInput | No | Reference/product image URLs already hosted on TASVR's own Supabase Storage (e.g. returned by an earlier upload). Arbitrary external URLs are rejected server-side. For an unscoped identity/appearance reference (e.g. a saved avatar) where 'just look like this' is the whole intent, use this. For anything more specific — a pose, a product, a piece of jewelry — use `references` instead, which tells the model exactly what to take from the image and what to ignore. | |
| references | No | Role-tagged references for anything specific a preset can't express — see each role's own description. Counts toward the same MAX_REFERENCE_IMAGES total as imageInput. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| task_id | Yes | ||
| subjectResolution | No |