Image Generation
Sizes
Request an output size or aspect ratio
Sizes
Request the output dimensions with size, as width x height:
{ "size": "1024x1024" }Common sizes include 256x256, 512x512, 1024x1024, 1792x1024, and 1024x1792.
Allowed sizes per model
Each model supports its own set of sizes (or aspect ratios). A size the model doesn't support is rejected rather than silently changed, so you always know what you'll get. The exact set for a model is shown on the PlayKit Dashboard.
Choosing a size
- Square (
1024x1024) for icons, avatars, and item art. - Landscape (
1792x1024) for backgrounds and banners. - Portrait (
1024x1792) for character portraits and posters.
For the exact call in your language, see the JavaScript, Unity, or Unreal image generation guide.