infery
← All models

Krea 2 Text to Image Turbo LoRA

krea-2-turbo-lora

Image generationby Krea 2

Generate high-fidelity images from text with Krea 2 using a custom-trained LoRA. Apply your LoRA weights to carry a learned subject, character, or style into new generations, with aspect ratio, creativity, and seed controls.

images

Details

Accepts
text

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`.
lorasarrayList of LoRA weights to apply (maximum 3).
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.