generate_image
Generate text-to-image artwork on Tensor.Art from prompts using custom checkpoints, LoRAs, and diffusion settings, with optional wait-to-completion and local image saving.
Instructions
Text-to-image on Tensor.Art (TAMS).
model_id: checkpoint id (number from the model page URL). loras: list of {"id": "", "weight": 1.0, "access_key": ""}. model_access_key: for a private checkpoint. extra_diffusion: any additional DIFFUSION fields TAMS accepts (e.g. {"scheduleName": "simple", "guidance": 3.5}). With wait=True it polls until the job ends and saves the images locally.
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": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vae | No | Automatic | |
| seed | No | ||
| wait | No | ||
| count | No | ||
| loras | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| sampler | No | euler | |
| download | No | ||
| model_id | No | ||
| cfg_scale | No | ||
| clip_skip | No | ||
| timeout_sec | No | ||
| extra_diffusion | No | ||
| negative_prompt | No | ||
| model_access_key | No |