infery
← All models

Krea 2 Text to Image Turbo Style

krea-2-turbo-style

Image editby Krea 2

Generate high-fidelity images from text with Krea 2 using a style reference image. Apply a reference image to guide the visual style into new generations, with aspect ratio, creativity, and seed controls.

images

Details

Accepts
image

Pricing

Price
1.25 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.
style_scalenumberScale for the style adapter residual.
accelerationstringenum: none, regularThe acceleration level to use for the image generation.
output_formatstringenum: jpeg, pngThe format of the generated image. Default value: "png".
reference_image_urlsrequiredarrayOne to three image URLs used as style references.
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.