Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt

Use this file to discover all available pages before exploring further.

AI image generation on Zo Computer is powered by Google Nano Banana or OpenAI GPT Image 2. The default is set per-user in AI settings.

Parameters

prompt
string
required
A description of the desired image. Be specific, precise, and detailed. Use advanced AI image generation prompting techniques to produce visually compelling results.
file_stem
string
required
The base name for the output files (e.g., “myimg” will create “myimg_1.png”, “myimg_2.png”, etc.).
n
number
default:1
The number of images to generate (between 1 and 10). Defaults to 1.
output_dir
string
The directory where the generated images will be saved. Defaults to /home/workspace/Images.
aspect_ratio
string
default:"1:1"
The desired image aspect ratio, e.g. “16:9”, “1:1”, “3:4”.
provider
string
Which model to use. Defaults to "" (empty), which routes through the user’s configured default image provider in AI settings. Pass “google” (Nano Banana — fast and cheap) or “openai” (GPT Image 2 — ~3× more expensive but better prompt adherence and legible rendered text) to override on this call only; use the override when the user explicitly asks for a specific provider or a level of quality only one of them satisfies.