Inference API
Image generation
Generate images and visual assets through OpenAI DALL-E and compatible models.
POST/v1/images/generations
API Key (Bearer zrv_...)
Generate images using models like openai/dall-e-3.
Code example
from openai import OpenAI
client = OpenAI(
base_url="https://api.zorveus.com/v1",
api_key="zrv_your_api_key",
)
response = client.images.generate(
model="openai/dall-e-3",
prompt="A modern minimalist geometric workspace with emerald mint lighting",
size="1024x1024",
quality="standard",
n=1,
)
print(response.data[0].url)Handle image data
Providers can return a temporary URL, base64 data, or another provider-specific result. The maintained Zorveus smoke test requests b64_json and verifies that the decoded file is non-empty.
Check GET /v1/models before using the example model. Image size, quality, count, response format, and content-policy behavior depend on the selected model.
Do not log base64 image output or place provider URLs in long-lived records unless your data policy permits it.
Was this page helpful?
Edit this page on GitHub