infery
← All models

Ernie Image Lora

ernie-image-lora

Image generationby Baidu

High-quality text-to-image model by Baidu. Supports English, Chinese, and Japanese prompts with built-in prompt expansion.

images

Details

Accepts
text

Pricing

Price
4.38 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility.
lorasarray
promptrequiredstringText prompt for image generation. Supports English, Chinese, and Japanese.
sync_modebooleanIf True, the image will be returned as a data URI instead of a URL.
image_sizeThe size of the generated image.
num_imagesintegerNumber of images to generate.
accelerationstringenum: none, regular, highThe acceleration level to use for the image generation.
output_formatstringenum: jpeg, pngOutput image format.
guidance_scalenumberClassifier-free guidance scale.
negative_promptstringNegative prompt to guide what should not be in the image.
num_inference_stepsintegerNumber of denoising steps.
enable_safety_checkerbooleanEnable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanIf True, the prompt will be enhanced using an LLM for more detailed results.

Output

FieldTypeDescription
seedintegerSeed used for generation.
imagesarrayList of generated images.
promptstringThe prompt used for generating the image.
timingsobjectTiming information.