Dall E 3 API
OpenAI's image generation api using Dall-e 3 model.
Official Guide
We provide this cost friendly API for high throughput scenarios, there's no rate limit 🚀!
For more detailed API spec, see platform.openai.com/docs/guides/images
Available models:
- dall-e-3
Pricing
The price of dall-e-3 call is 75% of the price of OpenAI official website. Details: LLM API | PPU Quota | Endpoint Usage
Request Example
import requests
import json
url = 'https://api.goapi.xyz/v1/doc-images/generations'
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR-GOAPI-KEY'
}
data = {
"model": "dall-e-3",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}
response = requests.post(url, headers=headers, data=json.dumps(data))
print(response.json())