ACAI
ProductEvidenceDocsPricing
ACAI

Continuous compliance for AI. Every call scanned, classified, audit-logged, and evidence-ready.

Product

  • AI Layer
  • Sample Reports
  • Pricing
  • Documentation
  • Quickstart
  • Start Free

Company

  • About
  • Talk to an Engineer
  • Security
  • Support

Legal

  • Privacy Policy
  • Terms of Service
Service-Disabled Veteran-Owned Small Business
© 2026 Agile Cloud & AI LLC. All rights reserved.
OverviewQuick StartMigration GuideCompliance Quick StartNext Steps

User Guide

AuthenticationChat CompletionsEmbeddingsTranscriptionModelsGuardrailsRate LimitsError HandlingBYOK / Passthrough

Features

Batch APISemantic CacheRAGPromptsSmart RoutingRealtime APIAudit & Compliance

Developer

ArchitectureSelf-HostingAPI ReferenceInteractive DocsConfigurationContributing
Back to site

Image Generation

Generate images from text prompts using DALL-E 3 and GPT Image 1. OpenAI-compatible endpoint.

Endpoint

POST https://api.agilecloud.ai/v1/images/generations

Request Parameters

ParameterTypeRequiredDescription
modelstringNodall-e-3 or gpt-image-1. Default: dall-e-3
promptstringYesText description of the image to generate
nintegerNoNumber of images (1–10). Default: 1
sizestringNo256x256, 512x512, 1024x1024, 1792x1024, 1024x1792. Default: 1024x1024
qualitystringNostandard or hd. Default: standard
stylestringNovivid or natural. Default: vivid
response_formatstringNourl or b64_json. Default: url

cURL Example

curl https://api.agilecloud.ai/v1/images/generations \
  -H "Authorization: Bearer $DIRECTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dall-e-3",
    "prompt": "A futuristic cityscape at sunset with flying cars",
    "size": "1024x1024",
    "quality": "hd"
  }'

Response

{
  "created": 1719000000,
  "data": [
    {
      "url": "https://...",
      "revised_prompt": "A futuristic cityscape at sunset..."
    }
  ]
}

Python SDK Example

from openai import OpenAI

client = OpenAI(
    base_url="https://api.agilecloud.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.images.generate(
    model="dall-e-3",
    prompt="A futuristic cityscape at sunset with flying cars",
    size="1024x1024",
    quality="hd",
    n=1,
)

print(response.data[0].url)

Models

ModelDescriptionTiers
dall-e-3High-quality image generation with prompt revisionPro+
gpt-image-1Latest GPT-native image generationPro+

Notes

  • DALL-E 3 may revise your prompt for better results — check revised_prompt in the response.
  • Image URLs expire after 1 hour. Download immediately or request b64_json format.
  • Content safety guardrails apply — prompts violating safety policies are blocked.
  • All requests are audit-logged with compliance metadata.