🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
 - Film Grain 2.0 thumbnail

ModelsLab/ - Film Grain 2.0

filmgrain20
Text to Image Community ModelFree for Premium UsersLLMs.txt

2023.7.9

更新了Film Grain 2.0版本。本版本制作过程中对比测试了底模融合filmgirl lora,以及用filmgirl lora进行dreambooth训练时的效果区别,并将这两个大模型进行了融合与分层调节。经过多轮测试,Film Grain 2.0要比1.0在人像美感与肤色上效果更好。

另外本模型所展示的风景类示意图,其中冰原极光场景的提示词来自博主Sam Hui,确实相当漂亮。以此为借鉴,我还生成了其他一些风光场景的示意图,在此感谢!

Updated Film Grian version 2.0. During the production process of this version, I conducted comparative tests by integrating Filmgirl Lora into the base model and using Filmgirl Lora's training set for Dreambooth training. Then I merged the two large models obtained, and carried out hierarchical weight adjustment. After multiple rounds of testing, Film Grain 2.0 performs better than 1.0 in terms of portrait aesthetics and skin tone.

Additionally, the landscape sketches displayed in this model, including the glacier aurora scene inspired by the keyword from blogger Sam Hui, are indeed quite beautiful. Taking this as a reference, I have also generated some other landscape sketches, and I would like to express my gratitude here!

API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/images/text2img

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"model_id": "filmgrain20",
"lora_model": [],
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"num_inference_steps": "31",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5",
"enhance_prompt": false,
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
promptpromptprompt help in image generation
Modelmodel_idEnter model_id that can help in image generation
lora Modellora_modelNo description available
Widthwidthwidth of the image
Heightheightheight of the image
Negative Promptnegative_promptNegative prompt help in avoid things that you do not want in image
Stepsnum_inference_stepsNumber of inference steps
SchedulerschedulerSampling scheduler
Guidance Scaleguidance_scaleHow closely to follow the prompt (1-10)
enhance_promptenhance_promptAutomatically enhance the prompt