Skip to main content

Image Models

Model Lab's Image Mode lets you explore and compare image generation models in one place. Switch between Text-to-Image and Image-to-Image, and adjust parameters for each model to find the best fit for your use case.

Test Image Models​

Follow these steps to generate images and compare outputs:

  1. Select a mode: Select Text-to-Image or Image-to-Image to get started.

  2. Select models: Click Add Models to choose one or more models.

  3. Configure generation: Enter your text prompt. In Image-to-Image mode, upload a reference image or paste an image URL. These core inputs apply to all selected models. Optionally, select a model in the left panel to adjust its settings. Available options vary by mode. See Example Parameters for details.

  4. Generate and compare: Click Generate to start the process. Once complete, review the outputs to compare visual quality, style adherence, and generation speed across your selected models.

  5. View code (Optional): Click View Code to instantly generate an API request script containing your exact prompts and parameter configurations.


Lab-Image


Generation Cost

Generation costs vary depending on your selected model and the number of images generated (the N parameter). Review Model pricing before running large-scale tests.

  • Standard generation: Cost = Unit Price × N

Example Parameters​

Adjust these settings to generate new images from text prompts.

ParameterDescription
NSets the number of images to generate per request. Supported values depend on the model

Tip: Set this to 1 during initial testing to minimize API costs.
SeedSets the random seed for image generation (0 to 2147483647). Leave blank to use a random seed.
SizeSets the output resolution (width × height). Supported values vary by model.
WatermarkAdds a visible watermark to the bottom-right corner of the generated image.
Prompt ExtendAutomatically refines and expands your positive prompt to improve generation quality. This feature does not affect the negative prompt.
Negative PromptDefines specific elements, styles, or subjects to exclude from the generated image. Supports up to 500 characters in English and Chinese (excess characters are truncated).

Example: low resolution, low quality, deformed limbs, chaotic composition.
About Parameters

The parameters listed here are examples for reference only. Available parameters vary by model. For the full parameter list, refer to the API documentation for your specific model.

Next Steps​

Use Secrets for API Calls

Create API keys to call your models.

View Usage

Monitor your model usage with real-time analytics and insights.