OyeFilmy Logo
personFreeUpgrade
bolt0cr
U

Image generation API

Imagen / Google

Google's Imagen 3/4 and Gemini native image generation — state-of-the-art photorealism and text rendering.

Provider: Google6 models

Available models

Model keyDisplay nameCapabilityAtlas Cloud slug
imagen_4_ultraImagen 4 Ultratext-to-imagegoogle/imagen4-ultra
imagen_4Imagen 4text-to-imagegoogle/imagen4
imagen_4_fastImagen 4 Fasttext-to-imagegoogle/imagen4-fast
imagenImagen 3text-to-imagegoogle/imagen3
imagen_2Imagen 3 Fasttext-to-imagegoogle/imagen3-fast
gemini_imgGemini Imagetext-to-imagegemini-3.1-flash-image

Endpoint

POST /api/generate

Request body

ParameterTypeRequiredDescription
modelKeystringOne of the model keys listed above
promptstringText description of the image to generate
inputUrlstringInput image URL (for edit/i2i models)
aspectRatiostring"1:1", "16:9", "9:16", etc.
imageQualitystring"Low", "Medium", "High"
styleRefstring | string[]Style reference image URL(s)
charRefstring | string[]Character reference image URL(s)
brandIdstringBrand DNA ID for brand-consistent generation

Code example

curl -X POST https://api.oyefilmy.com/api/generate \
  -H "Authorization: Bearer of_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "modelKey": "imagen_4",
    "prompt": "A cozy Japanese izakaya interior with warm lantern light, steam rising from ramen bowls"
  }'

Response

{
  "success": true,
  "predictionId": "pred_abc123...",
  "status": "processing",
  "model": "google/imagen4-ultra",
  "creditCost": 5
}

Imagen 4 Ultra delivers the highest quality. Imagen 4 Fast is optimized for speed. Gemini Image uses Gemini's native multimodal generation.

Related