Nexevo.aiNexevo.ai
← All examples
Image / video / 3D generation

Text-to-image (we pick the provider)

Sync image generation — defaults to nexevo-auto (we pick: DALL-E 3 / Imagen 4 / FLUX / Qwen / Seedream …). Returns URL directly.

python
from nexevo_ai import Nexevo

client = Nexevo()  # NEXEVO_API_KEY env

r = client.images.generate(
    model="nexevo-auto",  # default — we pick the provider; pin specific model below
    prompt="a serene Japanese garden in cyberpunk style",
    n=1, size="1024x1024",
)
print(r["data"][0]["url"])
print("charged:", r["nexevo"]["charged_usd"], "USD")

# ── Advanced: pin a specific provider ──
# model="dall-e-3" / "imagen-4-ultra" / "flux-pro" / "qwen-image-2.0-pro"
# / "doubao-seedream-5.0-lite" / "HY-Image-3.0-Plus" etc.
# Full catalog: GET /v1/generation/models
Text-to-image (we pick the provider) — Nexevo Cookbook | Nexevo.ai