set_aspect_ratio
Configure the aspect ratio for image generation and editing sessions to ensure consistent dimensions across creations. Specify ratios like 16:9 or 1:1 before processing images.
Instructions
Set the aspect ratio for subsequent image generation and editing in this session. Must be called before generating/editing images if a specific ratio is desired.
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": {
"aspect_ratio": "<aspect_ratio>"
},
"name": "set_aspect_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect_ratio | Yes | The aspect ratio to use for image generation/editing | |
| conversation_id | No | Session ID to apply this setting to (default: 'default') |