Image generation (Azure-style deployments)
Some teams prefer the Azure OpenAI-style URL shape where the deployment name is part of the path. AlphaNeural supports that format for image generation too.
Endpoint
POST https://proxy.alfnrl.io/openai/deployments/{deployment}/images/generations
Where:
{deployment}is your Azure-style deployment identifier (what you would normally put in the Azure URL).
Quickstart
curl https://proxy.alfnrl.io/openai/deployments/my-image-deployment/images/generations \
-H "Authorization: Bearer $ALPHANEURAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A product photo of a glass bottle on white background",
"size": "1024x1024"
}'Behaviour notes
You usually omit
modelin the JSON body because the deployment is already specified in the path, Azure-style.Parameters like
size,quality,background,output_formatbehave like OpenAI’s Images API (subject to model support).As with OpenAI and Azure OpenAI, GPT image models return base64 and do not support
response_format.
Last updated
