October 3, 2025
LTX Studio API v1 major update:
- New endpoint POST images/upscale to upscale previously generated images to higher resolution
- New AI models for image generation and editing:
- FLUX.1 Kontext -
flux
- default model - FLUX.1 Kontext Max -
flux-premium
- supports 3 reference images - Nano Banana / Gemini 2.5 Flash Image -
nano-banana
- supports 3 reference images
- FLUX.1 Kontext -
- New parameters for both edit and create endpoints:
model
- select AI model:flux
,flux-premium
,nano-banana
location
- location description, max 2000 charsweather
- weather conditions description, max 2000 charslighting
- lighting description, max 2000 charsreferenceAssetId2
- second reference image, all modelsreferenceAssetId3
- third reference image,flux-premium
andnano-banana
only
- Endpoint renames, backward compatible:
images/flux-edit
renamed to images/edit, old name still supportedimages/flux-create
renamed to images/create, old name still supported
Examples
Model Nano Banana / Gemini 2.5 Flash Image
curl --location 'https://api.useapi.net/v1/ltxstudio/images/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="A large billboard on the right side of the freeway that reads: \"Don'\''t worry, Be Happy.\" The billboard is at Hollywood and Vine, Hollywood, California. Use bold, friendly font that is easy to read from distance."' \
--form 'aspectRatio="1:1"' \
--form 'location="Hollywood and Vine, Hollywood, California"' \
--form 'weather="bright sunny day"' \
--form 'lighting="beautiful California sunshine"' \
--form 'model="nano-banana"'
Result
Model FLUX.1 Kontext Max
curl --location 'https://api.useapi.net/v1/ltxstudio/images/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="A large billboard on the right side of the freeway that reads: \"Don'\''t worry, Be Happy.\" The billboard is at Hollywood and Vine, Hollywood, California. Use bold, friendly font that is easy to read from distance."' \
--form 'aspectRatio="16:9"' \
--form 'location="Hollywood and Vine, Hollywood, California"' \
--form 'weather="bright sunny day"' \
--form 'lighting="beautiful California sunshine"' \
--form 'model="flux-premium"'
Result
referenceAssetId • Lady with the red hair
referenceAssetId2 • BMW classic motorcycle
referenceAssetId3 • The Golden Gate
Model Nano Banana / Gemini 2.5 Flash Image
curl --location 'https://api.useapi.net/v1/ltxstudio/images/edit' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="The red-haired lady with sleeve tattoos sitting on the vintage motorcycle on the beach. She is wearing revealing crop top, cropped denim jacket, short denim shorts and looking directly into camera. Visible motorcycle tire tracks in the sand extending behind the rear motorcycle tire"' \
--form 'shotType="wide shot"' \
--form 'referenceAssetId="asset:…-type:image/jpeg"' \
--form 'referenceAssetId2="asset:…-type:image/jpeg"' \
--form 'referenceAssetId3="asset:…-type:image/jpeg"' \
--form 'model="nano-banana"'
Result
Model FLUX.1 Kontext
curl --location 'https://api.useapi.net/v1/ltxstudio/images/edit' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="The red-haired lady with sleeve tattoos sitting on the vintage motorcycle on the beach. She is wearing revealing crop top, cropped denim jacket, short denim shorts and looking directly into camera. Visible motorcycle tire tracks in the sand extending behind the rear motorcycle tire"' \
--form 'aspectRatio="16:9"' \
--form 'shotAngle="eye-level"' \
--form 'shotType="wide shot"' \
--form 'referenceAssetId="asset:…-type:image/jpeg"' \
--form 'referenceAssetId2="asset:…-type:image/jpeg"' \
--form 'model="flux"'
Result
curl --location 'https://api.useapi.net/v1/ltxstudio/images/upscale' \
--header 'Authorization: Bearer user:12345-…' \
--form 'jobId="email:[email protected]:…-type:image"'
Result