Create confidential image
Changed onThis handler processes image generation requests in a confidential manner, providing additional encryption and security measures for sensitive data processing. It supports both streaming and non-streaming responses while maintaining data confidentiality through AEAD encryption and TEE hardware, for full private AI compute.
Request
- Base URLhttps://api.atoma.network
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Image generations
Example response
{
"usage": {
"completion_tokens": 10,
"completion_tokens_details": {
"accepted_prediction_tokens": 10,
"reasoning_tokens": 10
},
"prompt_tokens": 10,
"prompt_tokens_details": {
"cached_tokens": 10
},
"total_tokens": 20
}
}Changes
- breaking
the
/////response's property type changed fromintegernulltointeger, and format fromint64toint32for status - breaking
the
/////response's property type changed from no type toobjectfor status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status - info
added the required property
/////to the response with the status
- breaking
- info
endpoint added
- info