Avatar from a preset
generate_presetMakes an avatar from the user's own photo with a genframe preset and scene (see list_presets). Charged like one picture. Use only a photo of the user themself or of someone who agreed.
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": {
"preset": "<preset>"
},
"name": "generate_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Scene id from list_presets (default: the first). | |
| preset | Yes | Preset id from list_presets. | |
| caption | No | Text on the poster for scenes with a caption; empty string = no text. | |
| photo_url | No | The person's photo: public https URL or a link from this server. | |
| aspect_ratio | No | Default 4:5. | |
| photo_job_id | No | Or one of the user's genframe pictures. |