ModelsLab/Moxinmy
moxinmy《墨心》—— 昔涓子《琴心》,王孙《巧心》,心哉美矣,故用之焉。
本品由安吉吴仓石、兴化板桥先生、八大山人、山阴伯年等大师之大小写意作品辅以现代人物训练而成。辅以恰当之提示词,诵先贤尊号,襄古今并用之意,明雅俗共举之美。
《疏可走马》—— 字画疏处可以走马,密处不使透风。
这是一个和墨心搭配使用的构图Lora, 一旦使用并再最前前置提示词后,就会采用较大面积留白的构图风格。可以在版本处找到他
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": "boziorealvisxlv4","lora_model": "moxinmy","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 Name | Parameter | Technical Description |
|---|---|---|
| prompt | prompt | prompt help in image generation |
| Model | model_id | Enter model_id that can help in image generation |
| lora Model | lora_model | No description available |
| Width | width | width of the image |
| Height | height | height of the image |
| Negative Prompt | negative_prompt | Negative prompt help in avoid things that you do not want in image |
| Steps | num_inference_steps | Number of inference steps |
| Scheduler | scheduler | Sampling scheduler |
| Guidance Scale | guidance_scale | How closely to follow the prompt (1-10) |
| enhance_prompt | enhance_prompt | Automatically enhance the prompt |