infery
← All models

Krea 2 Turbo

krea-2-turbo

Image generationby Krea 2

Generate high-fidelity images from text in seconds with Krea 2 Turbo, the speed-optimized open-source version of Krea 2, preserving its aesthetic range for rapid ideation.

images

Details

Accepts
text

Pricing

Price
1 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducible generation. Image *i* uses `seed + i`.
promptrequiredstringBase text description of the image to generate.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
image_sizeThe size of the generated image.
num_imagesintegerThe number of images to generate.
accelerationstringenum: none, regularThe acceleration level to use for the image generation.
output_formatstringenum: jpeg, pngThe format of the generated image. Default value: "png".
enable_safety_checkerbooleanIf true, the output safety checker is enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.
enable_prompt_expansionbooleanIf true, the prompt is expanded with an LLM into a more detailed image-generation prompt for higher quality results. On failure, the original prompt is used unchanged.

Output

FieldTypeDescription
seedintegerThe seed used to generate the image(s).
imagesarrayThe generated images.
promptstringThe prompt used for generation.
timingsobjectTiming information for the request, in seconds.
actual_promptThe final prompt after expansion, if prompt expansion was enabled.
has_nsfw_conceptsarrayWhether each generated image contains NSFW concepts.