Make an AI image for a slide
make_slide_imageFor a studio slideshow made from the user's own photos, once its slides are made: an AI image from your description (prompt) goes on one slide, with that slide's words drawn over it, and is saved in the user's photos too. reference_media_id (optional, any of the user's photos) is sent to the image model, which keeps its subject and look and changes what the prompt describes. Costs what one AI slide does (get_credits shows the balance; usually 1 credit), refunded if it fails. Takes about 20 seconds. Leave the slide's words out of the prompt: they are drawn on afterwards.
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": {
"slideshow_id": "<slideshow_id>",
"slide": "<slide>",
"prompt": "<prompt>"
},
"name": "make_slide_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | fill (default) crops it to the 9:16 slide; whole shows all of it | |
| slide | Yes | Slide number, from 1 | |
| prompt | Yes | What the picture shows, up to 600 characters | |
| slideshow_id | Yes | From get_slideshow | |
| reference_media_id | No | Optional: one of the user's photos for the AI to base it on |