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

Upgrade now
UrangDiffusion v3.1 - v3.1 thumbnail

ModelsLab/UrangDiffusion V3.1 - V3.1

urangdiffusion-v3-1-v3-1
Text to Image Community ModelFree for Premium UsersLLMs.txt

UrangDiffusion XL v3.1 is fine-tuned from Animagine XL 4.0 Base (not Zero). This 4.0 Base model serves as the base model pre-trained for the final release of Animagine XL 4.0 (not the Opt version).

I have received permission from the team to fine-tune the base model using my own method and release it under the UrangDiffusion series.

Base model: Animagine XL 4.0 Base
Fine-tuning details:

  • Dataset size: ~1,600 images

  • GPU: 1× A100 80GB

  • Optimizer: AdaFactor

  • UNet learning rate: 1.25e-6

  • Text encoder learning rate: N/A (disabled)

  • Batch size: 48

  • Gradient accumulation: 1

  • Warmup steps: 5%

  • Minimum SNR: 5

  • Epochs: 15

Due to some quirks of the model, please keep the following in mind:

  • v3.0 may perform better with anatomy

  • v3.1 may perform better with more fluid poses

If you encounter anatomical issues at 28 steps, try lowering to 27 or increasing to 29. If it improves but isn’t perfect, continue adjusting slightly up or down. If the result worsens, the previous step count was likely the optimal one.

UPDATE [19/04/2025]

  • Some generations are stable at step 30++ with Euler a. You might wanna crank up the steps a bit.

  • Some generations are also better with realistic, 3d included in the negative. Try that too.

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": "urangdiffusion-v3-1-v3-1",
"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