Randomization Control (Seed)

The Seed parameter controls the randomization of the image generation process, allowing you to reproduce specific outputs or introduce subtle variations. Each seed value generates a unique version of the image based on the same prompt and parameters, providing consistency across multiple calls when needed.

For instance, by setting a fixed seed value, you can re-generate the same image with consistent elements, which is useful for version control or when fine-tuning specific styles. Conversely, altering the seed value enables you to create different interpretations of the same prompt, adding variety without changing any other input settings.

Example Usage in API Call

To set a seed, simply add the seed parameter to your API call:

--form 'seed="5"'

In the API Playground or direct API requests, you can adjust the seed parameter to experiment with different levels of prompt guidance.

Experimenting with different seed values is a great way to explore diverse outcomes for your prompts while retaining control over reproducibility and variation.

Last updated