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.
handle_image_generation_response
:
INTERNAL_SERVER_ERROR
- If there’s an error communicating with the AI nodeBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Request body for image generation
Image generations
Response format for image generation
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.
handle_image_generation_response
:
INTERNAL_SERVER_ERROR
- If there’s an error communicating with the AI nodeBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Request body for image generation
Image generations
Response format for image generation