Make a product photo from your own picture
-
upload_filestores your photo. In ChatGPT the attachment goes straight in; elsewhere, give a public link to it. -
search_modelswith the taskimage-editfinds models that edit a photo, andget_modelreads one’s inputs:google/nano-banana-2takesimagesand aprompt. -
generateruns it:
Animate the result
keep_outputturns the second picture of that run (index 1) into a file ID, without downloading anything.search_modelswith the taskimage-to-videofinds a video model.google/veo-3.1-fasttakes the picture asfirst_frame.quoteprices it: 4 seconds with sound is $0.66.generatestarts it with"duration": 4. A video takes longer than the 50 seconds a call waits, so it comes backrunning.
get_generation with wait: 50 until it is. The Animate it button under a result asks for the same, starting from its first picture.
Try one prompt on several models
generate_batch starts all four at once, priced and held together, about $0.18 in all. Each shows in the chat as it finishes, and only the ones that succeed are charged. For four takes from one model, the agent can instead send "n": 4 to a model that takes n, in one generate.
Ask what something costs first
google/veo-3.1-fast with get_model and calls quote, which checks the input and returns $1.32 without running anything or holding credit. Add “quote it before you run anything” to any request to get a price first.
Start from an idea
plan turns the words into up to three presets or models with their prices. If several fit, the agent shows you the options to pick from. This one needs your photo, so the agent asks for it, uploads it, then runs the option you chose. An ask that names a real person who hasn’t agreed is refused here, before anything runs.
Transcribe a recording
upload_filefetches the link. Sounds and videos can be up to 100 MB this way.generaterunsopenai/whisper-large-v3with the file asaudio_file, at $0.0022 a started minute.
Look back at what you made
list_generations returns your workspace’s runs, newest first, including the ones you made in the studio. The agent pages back until it passes yesterday, and shows the videos. Each link works for 24 hours after the agent fetched it. For an older one, ask “send me a fresh link”, and the agent reads the run again.
Check the balance
get_account returns what’s available, what running jobs hold, and where to add credits.
Prompting tips
- Name Leap when the app has other tools that make images: “Use Leap to make…”. In ChatGPT, type
@and pick Leap. - Name a model if you want one. The agent searches the catalog by name or by what it makes.
- If you belong to several workspaces, say which one: “Use my acme workspace.”
- Ask for a quote first when the price matters, such as a long video at 1080p.
- Say what you’ll do with it: a 9:16 clip for a story, a square image for a feed. The agent sets
aspect_ratioand other inputs from what you say.