Image generation
Response
Image edits
Image variations
Text-to-speech
alloy, echo, fable, onyx, nova, shimmer.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Image generation, editing, and audio speech/transcription endpoints.
curl https://your-gateway/v1/images/generations \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dall-e-3",
"prompt": "A serene mountain landscape at sunset",
"n": 1,
"size": "1024x1024"
}'
{
"created": 1700000000,
"data": [
{"url": "https://..."}
]
}
curl https://your-gateway/v1/images/edits \
-H "Authorization: Bearer $KEY" \
-F "image=@photo.png" \
-F "mask=@mask.png" \
-F "prompt=Replace the sky with a starry night" \
-F "model=dall-e-2"
curl https://your-gateway/v1/images/variations \
-H "Authorization: Bearer $KEY" \
-F "image=@photo.png" \
-F "model=dall-e-2" \
-F "n=2"
curl https://your-gateway/v1/audio/speech \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tts-1",
"input": "Hello, welcome to ManyLayers.",
"voice": "alloy"
}' \
--output speech.mp3
alloy, echo, fable, onyx, nova, shimmer.
curl https://your-gateway/v1/audio/transcriptions \
-H "Authorization: Bearer $KEY" \
-F "file=@recording.mp3" \
-F "model=whisper-1"
{"text": "Hello, welcome to ManyLayers."}
curl https://your-gateway/v1/audio/translations \
-H "Authorization: Bearer $KEY" \
-F "file=@french_recording.mp3" \
-F "model=whisper-1"
media_prices:
image: 0.04 # USD per generated image (multiplied by n)
speech_per_1k_chars: 0.015 # USD per 1000 input characters
transcription: 0.006 # USD flat per transcription request