v1
latestOpenAPI 3.1.0Apache-2.02026-07-1783444.0 KBimages
Create image generation
This handler simply forwards the request to the image generations service and returns the response.
Arguments
- state - Application state containing service URLs
- payload - The image generation request body
Returns
Returns the JSON response from the image generations service
Errors
Returns a AtomaServiceError::InternalError if:
- The image generations service request fails
- Response parsing fails
post/v1/images/generations
Request body
{"stackTrail":"paths:/v1/images/generations:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
Images generated successfully
{"stackTrail":"paths:/v1/images/generations:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}