Images
Create image
This endpoint processes requests to generate images using AI models by forwarding them to the appropriate AI node. The request metadata and compute units have already been validated by middleware before reaching this handler.
Errors
- Returns various status codes based on the underlying
handle_image_generation_response
:INTERNAL_SERVER_ERROR
- If there’s an error communicating with the AI node
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Request body for image generation
Response
200
application/json
Image generations
Response format for image generation