Skip to content
Stable Diffusion API

Stable Diffusion

- Film Grain 2.0

model_id: filmgrain20

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 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 You can integrate - Film Grain 2.0 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "filmgrain20" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation. - Film Grain 2.0 costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

- Film Grain 2.0 sample image

Generate with - Film Grain 2.0 via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "filmgrain20",
  "prompt": "a photo of - film grain 2.0",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": "7.5",
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Parameters

Parameter Default Description
model_id filmgrain20 Model identifier
prompt
negative_prompt
width 512 Output image width (px)
height 512 Output image height (px)
samples 1 Number of images to generate
num_inference_steps 30 Denoising steps (1-50)
guidance_scale 7.5 Prompt adherence (1-20)
seed null Random seed (null to randomize)
safety_checker yes NSFW filter (yes/no)
enhance_prompt yes Auto-improve prompt (yes/no)

Also searched as

- Film Grain 2.0 is also known as: - Film Grain 2.0, filmgrain20. Use it for stable diffusion image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — - Film Grain 2.0

How do I use - Film Grain 2.0 via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "filmgrain20". Get an API key from modelslab.com.
Is - Film Grain 2.0 free to use?
Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to - Film Grain 2.0 and 1,000+ other models.
What parameters does - Film Grain 2.0 support?
- Film Grain 2.0 accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.