Generate Image
beatra.images.generateGenerate one to four images from text without source images. Omit model unless the user explicitly requests one; call beatra.models.list before model or cost comparisons. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.
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>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.images.generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional random seed. Supplying it constrains model eligibility; omit it for model-managed randomness. | |
| count | No | Requested output image count. The public range is one through four, and the selected model must support the exact count; Beatra does not split the request. | |
| model | No | Omit or use 'auto' unless the user explicitly requests a concrete model. An explicit model is evaluated exactly as requested and is never substituted. | auto |
| canvas | No | Desired output canvas. Presets are quality tiers, and target dimensions may be normalized or vary; inspect output images for actual dimensions. | |
| prompt | Yes | Required prompt containing at least one non-whitespace character. | |
| palette | No | Three to ten weighted RGB colors. Runtime validation requires the weights to sum exactly to 1.0000. | |
| reasoning | No | Omit or use null to retain the selected model's documented default; an explicit boolean constrains model eligibility. | |
| enhance_prompt | No | Ask the model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written; an explicit boolean constrains model eligibility. | |
| negative_prompt | No | Optional content or qualities to avoid. Supplying it constrains model eligibility and is rejected when no compatible model is available. | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. | |
| output_relationship | No | Use independent for unrelated results, or sequence for a related image set. An explicit value constrains model eligibility and is rejected when unsupported. | independent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| usage | No | ||
| status | No | ||
| billing | No | ||
| task_id | No | ||
| terminal | No | ||
| artifacts | No | ||
| resolved_model | No |