image-pipeline commited on
Commit
97c3bf3
1 Parent(s): f611749

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +129 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - imagepipeline
5
+ - imagepipeline.io
6
+ - text-to-image
7
+ - ultra-realistic
8
+ pinned: false
9
+ pipeline_tag: text-to-image
10
+
11
+ ---
12
+
13
+
14
+ ## KIDS-ILLUSTRATION
15
+ <img src="https://f005.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=4_zfdf0a8ed59e8666b89b10713_f110a3c1c6e77b240_d20231201_m120414_c005_v0501007_t0012_u01701432254455" alt="Generated by Image Pipeline" style="border-radius: 10px;">
16
+
17
+
18
+
19
+ **This lora model is uploaded on [imagepipeline.io](https://imagepipeline.io/)**
20
+
21
+ Model details - This LoRa try to mimic the simple illustration style from kids book.
22
+
23
+
24
+
25
+
26
+
27
+ [![Try this model](https://img.shields.io/badge/try_this_model-image_pipeline-BD9319)](https://imagepipeline.io/models/KIDS-ILLUSTRATION?id=5abe027b-fc13-4bc4-a23a-5f3e66a019ae/)
28
+
29
+
30
+
31
+
32
+ ## How to try this model ?
33
+
34
+ You can try using it locally or send an API call to test the output quality.
35
+
36
+ Get your `API_KEY` from [imagepipeline.io](https://imagepipeline.io/). No payment required.
37
+
38
+
39
+
40
+
41
+
42
+ Coding in `php` `javascript` `node` etc ? Checkout our documentation
43
+
44
+ [![documentation](https://img.shields.io/badge/documentation-image_pipeline-blue)](https://docs.imagepipeline.io/docs/introduction)
45
+
46
+
47
+ ```python
48
+ import requests
49
+ import json
50
+
51
+ url = "https://imagepipeline.io/sd/text2image/v1/run"
52
+
53
+ payload = json.dumps({
54
+ "model_id": "sd1.5",
55
+ "prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K",
56
+ "negative_prompt": "painting, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, deformed, ugly, blurry, bad anatomy, bad proportions, extra limbs, cloned face, skinny, glitchy, double torso, extra arms, extra hands, mangled fingers, missing lips, ugly face, distorted face, extra legs, anime",
57
+ "width": "512",
58
+ "height": "512",
59
+ "samples": "1",
60
+ "num_inference_steps": "30",
61
+ "safety_checker": false,
62
+ "guidance_scale": 7.5,
63
+ "multi_lingual": "no",
64
+ "embeddings": "",
65
+ "lora_models": "5abe027b-fc13-4bc4-a23a-5f3e66a019ae",
66
+ "lora_weights": "0.5"
67
+ })
68
+
69
+ headers = {
70
+ 'Content-Type': 'application/json',
71
+ 'API-Key': 'your_api_key'
72
+ }
73
+
74
+ response = requests.request("POST", url, headers=headers, data=payload)
75
+
76
+ print(response.text)
77
+
78
+ }
79
+ ```
80
+
81
+ Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` :
82
+
83
+ [![All models](https://img.shields.io/badge/Get%20All%20Models-image_pipeline-BD9319)](https://imagepipeline.io/models)
84
+
85
+ ### API Reference
86
+
87
+ #### Generate Image
88
+
89
+ ```http
90
+ https://api.imagepipeline.io/sd/text2image/v1
91
+ ```
92
+
93
+ | Headers | Type | Description |
94
+ |:----------------------| :------- |:-------------------------------------------------------------------------------------------------------------------|
95
+ | `API-Key` | `str` | Get your `API_KEY` from [imagepipeline.io](https://imagepipeline.io/) |
96
+ | `Content-Type` | `str` | application/json - content type of the request body |
97
+
98
+
99
+ | Parameter | Type | Description |
100
+ | :-------- | :------- | :------------------------- |
101
+ | `model_id` | `str` | Your base model, find available lists in [models page](https://imagepipeline.io/models) or upload your own|
102
+ | `prompt` | `str` | Text Prompt. Check our [Prompt Guide](https://docs.imagepipeline.io/docs/SD-1.5/docs/extras/prompt-guide) for tips |
103
+ | `num_inference_steps` | `int [1-50]` | Noise is removed with each step, resulting in a higher-quality image over time. Ideal value 30-50 (without LCM) |
104
+ | `guidance_scale` | `float [1-20]` | Higher guidance scale prioritizes text prompt relevance but sacrifices image quality. Ideal value 7.5-12.5 |
105
+ | `lora_models` | `str, array` | Pass the model_id(s) of LoRA models that can be found in models page |
106
+ | `lora_weights` | `str, array` | Strength of the LoRA effect |
107
+
108
+ ---
109
+ license: creativeml-openrail-m
110
+ tags:
111
+ - imagepipeline
112
+ - imagepipeline.io
113
+ - text-to-image
114
+ - ultra-realistic
115
+ pinned: false
116
+ pipeline_tag: text-to-image
117
+
118
+ ---
119
+
120
+ ### Feedback
121
+
122
+ If you have any feedback, please reach out to us at hello@imagepipeline.io
123
+
124
+
125
+ #### 🔗 Visit Website
126
+ [![portfolio](https://img.shields.io/badge/image_pipeline-BD9319?style=for-the-badge&logo=gocd&logoColor=white)](https://imagepipeline.io/)
127
+
128
+
129
+ If you are the original author of this model, please [click here](https://airtable.com/apprTaRnJbDJ8ufOx/shr4g7o9B6fWfOlUR) to add credits