Studio AI
Generate Studio Image
Generate an AI Studio image with normalized params and optional model-specific raw passthrough.
POST
Generate one image synchronously and return its hosted output URL.
Body Parameters
Image model ID from Get Studio Models.
Generation prompt.
Optional input/reference image URLs. Genviral may mirror public reference URLs to its own CDN before handing them to the upstream model so image-edit requests are less sensitive to third-party hotlinking or fetch-policy issues.
Normalized image params. Supported keys:
aspect_ratio, resolution, output_format, size, max_images, sequential_image_generation, scale_factor.Optional model-specific passthrough params.
Example
Error Responses
400 invalid_json- request body is not valid JSON401- authentication failed (missing/invalid/revoked token)402 subscription_required- active Creator/Professional/Business plan required403 tier_not_allowed- Scheduler tier cannot use Partner API403 insufficient_credits422 invalid_payload(includes unsupportedmodel_id)422 invalid_input- upstream model rejected the provided prompt/image combination422 model_requires_image422 model_input_not_supported500 generation_failed
