generate_image
Generate an image from a text prompt only (scenes, backgrounds, product shots). Do NOT use this for putting avatars on hooks - use face_swap instead. Costs 5 credits.
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 |
|---|---|---|---|
| model | No | Image model | |
| prompt | Yes | Image generation prompt | |
| resolution | No | Output resolution | |
| aspectRatio | No | Aspect ratio | |
| referenceImageUrl | No | Reference image URL for variations |