🚀 Z-Image Turbo Image-to-Image is Live — Unlimited Generations for Premium Users

Try Now
Skip to main content
NextPhoto - v3.0 thumbnail

ModelsLab/NextPhoto - V3.0

nextphoto-v30
Text to Image Community ModelFree for Premium UsersLLMs.txt

Version 3.0 is the result of hundreds of hours of training, tweaking, block merging, and refining. The training data included hand curated and hand written captions of a set of over 1000 images carefully selected to be high quality and representative. This was curated from some photos I took myself, a sample of 200 photos selected using Laion5B KNN searching, and a hand curated collection from a variety of sources, all of which were paid for.

Version 3.0 also includes a brand new VAE, trained with a custom loss metric that I developed that focuses on spectral-similarity using wavelet loss. It also uses LPIPS perceptual similarity to enhance very fine details. The new VAE has improved realism over the standard vae-ft-mse-840000-ema-pruned, though there are occasional artifacts in the form of orange highlights. These are uncommon though, and can easily be resolved through variance, slight prompt changing, a new seed, or image2image.

Final results result in the following improvements:

  • Significantly improved realism

  • Significantly improved skin-texture

  • Better lighting

  • More natural colors (v2.0 suffered a lot from color shift)

  • Less over-fitting than v2.0

  • Better subject integration when using the new VAE (less dark halos)

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": "nextphoto-v30",
"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