Generation Defaults

GET

/v1/image/generation/defaults

This endpoint is for retrieving for the generation operation.

Request Example

Below is an example for retrieving the defaults for the generation operation.

Response

{

"model_id": "22b0857d-7edc-4d00-9cd9-45aa509db093",

"scheduler_id": "b7224e56-1440-43b9-ac86-66d66f9e8c91",

"width": 768,

"height": 768,

"num_outputs": 4,

"guidance_scale": 7,

"inference_steps": 30,

"prompt_strength": 0.6

}

Response Body

model_id

(enum) TGenerationModelID

The ID of the default generation model.

scheduler_id

(enum) TGenerationSchedulerID

The ID of the default scheduler.

width

min256  max1024 | int

The default width for the generation operation.

height

min256  max1024 | int

The default height for the generation operation.

num_outputs

min1  max4 | int

The default number of output images for the generation operation.

guidance_scale

min1  max20 | float

The default number of output images for the generation operation.

inference_steps

min10  max50 | int

The default number of inference steps for the generation operation.

prompt_strength

min0  max1 | float

The default prompt strength for the generation operation.

© 2023 Stablecog, Inc.