API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Z-Image Turbo Edit LoRA

alibaba/z-image/turbo/edit/lora

Z Image Turbo Edit is Alibaba's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

Base price
$0.0085USD / run
Execution
async
Model type
image
Input fields
7

Try the model

Playground

Open playground
Input
The prompt to generate an image from.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of Image for Image-to-Image generation.
The strength of the image-to-image conditioning. Maximum: 1.
The format of the generated image. Allowed values: jpeg, png.
List of LoRA weights to apply (maximum 3).
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The same seed and the same prompt given to the same version of the model will output the same image every time.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.0085 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/z-image/turbo/edit/lora
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Z-Image Turbo Edit LoRA

Z-Image Turbo Edit LoRA Z-Image Turbo Edit LoRA uses Z-Image Turbo to revise supplied imagery from natural-language direction. The attached low-rank adaptation introduces a specialized aesthetic, subject, or production concept without replacing the underlying image model.

State the requested change and separately list the source identity, composition, and details that must remain stable. Include the adaptation’s learned concept naturally inside the brief so it interacts with the complete composition.

Highlights

  • Z-Image Turbo Edit LoRA Fast semantic image editing. Applies natural-language changes to objects, setting, style, and composition.
  • Z-Image Turbo Edit LoRA Source-detail retention. Keeps unrequested identity and layout connected to the original image.
  • Z-Image Turbo Edit LoRA Context-aware reconstruction. Matches new content to existing perspective, texture, and illumination.
  • Z-Image Turbo Edit LoRA Rapid revision cycles. Enables multiple creative edits through the Turbo generation path. A LoRA adds a learned style, subject, or domain concept to this behavior.

Pricing

Billing unitPrice
Per request$0.0085

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For image-conditioned generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "aspect_ratio": "21:9",
  "image": "https://example.com/start-frame.png",
  "output_format": "png",
  "prompt": "A young Asian woman with long, vibrant purple hair stands on a sunlit sandy beach, posing confidently with her left hand resting on her hip. She gazes directly at the camera with a neutral expression. A sleek black ribbon bow is tied neatly on the right side of her head, just above her ear. She wears a flowing white cotton dress with a fitted bodice and a flared skirt that reaches mid-calf, slightly lifted by a gentle sea breeze. The beach behind her features fine, pale golden sand with subtle footprints, leading to calm turquoise waves under a clear blue sky with soft, wispy clouds. The lighting is natural daylight, casting soft shadows to her left, indicating late afternoon sun. The horizon line is visible in the background, with a faint silhouette of distant dunes. Her skin tone is fair with a natural glow, and her facial features are delicately defined. The composition is centered on her figure, framed from mid-thigh up, with shallow depth of field blurring the distant waves slightly."
}

Technical Specs

SpecValue
Model IDalibaba/z-image/turbo/edit/lora
Inputsaspect_ratio, image, loras, output_format, prompt, seed, strength
Required inputsprompt, image
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)
Aspect Ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16
Output Formatjpeg / png

Related Models

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/z-image/turbo/edit/lora
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/z-image/turbo/edit/lora",
  "image": "https://static.sandbase.ai/examples/alibaba/z-image/turbo/edit/lora/input_image_0.png",
  "loras": [],
  "prompt": "A young Asian woman with long, vibrant purple hair stands on a sunlit sandy beach, posing confidently with her left hand resting on her hip. She gazes directly at the camera with a neutral expression. A sleek black ribbon bow is tied neatly on the right side of her head, just above her ear. She wears a flowing white cotton dress with a fitted bodice and a flared skirt that reaches mid-calf, slightly lifted by a gentle sea breeze. The beach behind her features fine, pale golden sand with subtle footprints, leading to calm turquoise waves under a clear blue sky with soft, wispy clouds. The lighting is natural daylight, casting soft shadows to her left, indicating late afternoon sun. The horizon line is visible in the background, with a faint silhouette of distant dunes. Her skin tone is fair with a natural glow, and her facial features are delicately defined. The composition is centered on her figure, framed from mid-thigh up, with shallow depth of field blurring the distant waves slightly.",
  "strength": 0.6,
  "output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
AlibabaImage$0.01 / runDec 7, 2025
AlibabaImage$0.04 / runJul 21, 2026
AlibabaImage$0.04 / runJul 21, 2026
AlibabaImage$0.07 / runApr 1, 2026
AlibabaImage$0.03 / runApr 1, 2026
AlibabaImage$0.03 / runApr 1, 2026

Questions

FAQ

How do I call Alibaba Z-Image Turbo Edit LoRA through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/z-image/turbo/edit/lora" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Z-Image Turbo Edit LoRA and the other models in the catalog; you do not need to sign up with Alibaba separately.