WaveSpeed.ai
Startseite/Entdecken/z-ai/glm-image/edit
image-to-image

image-to-image

GLM-Image Edit

z-ai/glm-image/edit

GLM-Image Edit is a powerful image-to-image editing model that transforms images based on text prompts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Input

Hint: You can drag and drop a file or click to upload

preview
Enhance prompt using LLM for better results.
If set to true, the function will wait for the result to be generated and uploaded before returning the response. This property is only available through the API.
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

Change the woman's shirt to blue.

Ihre Anfrage kostet $0.12 pro Durchlauf.

Für $10 können Sie dieses Modell ungefähr 83 Mal ausführen.

Noch etwas::

BeispieleAlle anzeigen

Change the woman's shirt to blue.
Turn into a real style
Turn into night
Turn into wearing a white dress
Change the shirt to white

README

Z.AI GLM-Image Image-Edit

GLM-Image Image-Edit is Z.AI's powerful image transformation model that modifies images based on text prompts. Upload up to 4 reference images and describe the changes you want — the model reimagines your images while preserving key elements and applying your requested modifications.

Why Choose This?

  • Multi-image reference Upload up to 4 reference images to guide the transformation with richer context.

  • Text-guided transformation Describe changes in natural language — lighting, style, time of day, environment, and more.

  • Flexible output sizing Custom width and height from 256 to 1536 pixels for any aspect ratio.

  • Prompt Enhancer Built-in tool to automatically improve your prompts for better results.

  • LLM-powered prompt expansion Optional feature to automatically enhance short prompts with more detail.

Parameters

ParameterRequiredDescription
promptYesText description of the desired transformation
imagesYesReference images to transform (1-4 images)
widthNoOutput width in pixels (256-1536, default: 1024)
heightNoOutput height in pixels (256-1536, default: 1024)
seedNoRandom seed for reproducibility (-1 for random)
output_formatNoOutput format: jpeg (default) or png
enable_prompt_expansionNoEnhance prompt using LLM for better results
enable_sync_modeNoAPI only: wait for result before returning response

Output Format Options

  • jpeg — Smaller file size, good for photos and web use (default)
  • png — Lossless quality, supports transparency, best for graphics

How to Use

  1. Write your prompt — describe the transformation you want (e.g., "change to daytime", "add snow", "make it cyberpunk style").
  2. Upload reference images — add 1-4 images using "+ Add Item" button.
  3. Set size — adjust width and height (256-1536 pixels).
  4. Set seed — use -1 for random results, or specify a number for reproducibility.
  5. Choose output format — jpeg for smaller files, png for lossless quality.
  6. Enable prompt expansion (optional) — check this to let LLM enhance your prompt.
  7. Run — click Run, preview the result, and iterate if needed.

Pricing

ItemCost
Per image$0.12

Simple flat-rate pricing regardless of image size or number of reference images.

Best Use Cases

  • Lighting Changes — Transform day to night, add golden hour, change weather conditions.
  • Style Transfer — Apply artistic styles while preserving composition.
  • Scene Modification — Add or remove elements, change seasons, modify environments.
  • Creative Reimagining — Generate variations based on multiple reference images.
  • Content Adaptation — Adjust images for different moods or contexts.

Pro Tips

  • Be specific in your transformation prompt — describe exactly what should change.
  • Use multiple reference images when you want to blend styles or elements from different sources.
  • Enable prompt expansion for short prompts; disable it for precise control.
  • Start with default 1024x1024 size, then adjust for specific aspect ratios.
  • Use the same seed to compare different prompts on the same reference images.

Notes

  • Maximum 4 reference images per generation.
  • Size range: 256-1536 pixels for both width and height.
  • enable_sync_mode is only available through the API.
  • Please ensure your prompts comply with content guidelines.

Related Models