image-pipeline commited on
Commit
0ffcca5
1 Parent(s): 69fe1d5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +130 -0
README.md ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ## Food-Photography
15
+ <img src="https://f005.backblazeb2.com/file/imageai-model-images/01836-1348318453.jpeg" 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 - Please use this with realistic vision, it only really works with that.
22
+
23
+ - use prompt, mine is "RAW photo, Spring Rolls, <lora:foodphoto:1> foodphoto, dslr, soft lighting, high quality, film grain, Fujifilm XT"
24
+
25
+
26
+
27
+
28
+ [![Try this model](https://img.shields.io/badge/try_this_model-image_pipeline-BD9319)](https://imagepipeline.io/models/Food-Photography?id=75a4366f-6605-4f32-be5b-63fdc233a1b7/)
29
+
30
+
31
+
32
+
33
+ ## How to try this model ?
34
+
35
+ You can try using it locally or send an API call to test the output quality.
36
+
37
+ Get your `API_KEY` from [imagepipeline.io](https://imagepipeline.io/). No payment required.
38
+
39
+
40
+
41
+
42
+
43
+ Coding in `php` `javascript` `node` etc ? Checkout our documentation
44
+
45
+ [![documentation](https://img.shields.io/badge/documentation-image_pipeline-blue)](https://docs.imagepipeline.io/docs/introduction)
46
+
47
+
48
+ ```python
49
+ import requests
50
+ import json
51
+
52
+ url = "https://imagepipeline.io/sd/text2image/v1/run"
53
+
54
+ payload = json.dumps({
55
+ "model_id": "sd1.5",
56
+ "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",
57
+ "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",
58
+ "width": "512",
59
+ "height": "512",
60
+ "samples": "1",
61
+ "num_inference_steps": "30",
62
+ "safety_checker": false,
63
+ "guidance_scale": 7.5,
64
+ "multi_lingual": "no",
65
+ "embeddings": "",
66
+ "lora_models": "75a4366f-6605-4f32-be5b-63fdc233a1b7",
67
+ "lora_weights": "0.5"
68
+ })
69
+
70
+ headers = {
71
+ 'Content-Type': 'application/json',
72
+ 'API-Key': 'your_api_key'
73
+ }
74
+
75
+ response = requests.request("POST", url, headers=headers, data=payload)
76
+
77
+ print(response.text)
78
+
79
+ }
80
+ ```
81
+
82
+ Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` :
83
+
84
+ [![All models](https://img.shields.io/badge/Get%20All%20Models-image_pipeline-BD9319)](https://imagepipeline.io/models)
85
+
86
+ ### API Reference
87
+
88
+ #### Generate Image
89
+
90
+ ```http
91
+ https://api.imagepipeline.io/sd/text2image/v1
92
+ ```
93
+
94
+ | Headers | Type | Description |
95
+ |:----------------------| :------- |:-------------------------------------------------------------------------------------------------------------------|
96
+ | `API-Key` | `str` | Get your `API_KEY` from [imagepipeline.io](https://imagepipeline.io/) |
97
+ | `Content-Type` | `str` | application/json - content type of the request body |
98
+
99
+
100
+ | Parameter | Type | Description |
101
+ | :-------- | :------- | :------------------------- |
102
+ | `model_id` | `str` | Your base model, find available lists in [models page](https://imagepipeline.io/models) or upload your own|
103
+ | `prompt` | `str` | Text Prompt. Check our [Prompt Guide](https://docs.imagepipeline.io/docs/SD-1.5/docs/extras/prompt-guide) for tips |
104
+ | `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) |
105
+ | `guidance_scale` | `float [1-20]` | Higher guidance scale prioritizes text prompt relevance but sacrifices image quality. Ideal value 7.5-12.5 |
106
+ | `lora_models` | `str, array` | Pass the model_id(s) of LoRA models that can be found in models page |
107
+ | `lora_weights` | `str, array` | Strength of the LoRA effect |
108
+
109
+ ---
110
+ license: creativeml-openrail-m
111
+ tags:
112
+ - imagepipeline
113
+ - imagepipeline.io
114
+ - text-to-image
115
+ - ultra-realistic
116
+ pinned: false
117
+ pipeline_tag: text-to-image
118
+
119
+ ---
120
+
121
+ ### Feedback
122
+
123
+ If you have any feedback, please reach out to us at hello@imagepipeline.io
124
+
125
+
126
+ #### 🔗 Visit Website
127
+ [![portfolio](https://img.shields.io/badge/image_pipeline-BD9319?style=for-the-badge&logo=gocd&logoColor=white)](https://imagepipeline.io/)
128
+
129
+
130
+ If you are the original author of this model, please [click here](https://airtable.com/apprTaRnJbDJ8ufOx/shr4g7o9B6fWfOlUR) to add credits