Always free Stable Duffusion API from wizmodel.com #13123
Closed
incomingflyingbrick
started this conversation in
Show and tell
Replies: 4 comments
-
Anyone can use it for free, always free, we offer machine learning model inference and hosting API as well check it out at https://www.wizmodel.com |
Beta Was this translation helpful? Give feedback.
0 replies
-
Anyone can use it for free, always free, we offer machine learning model inference and hosting API as well check it out at https://www.wizmodel.com |
Beta Was this translation helpful? Give feedback.
0 replies
-
text to image example # Python example
# Generate an image using prompt
import requests
import json
api_key = "<YOUR_API_KEY>"
url = "https://api.wizmodel.com/sdapi/v1/txt2img"
payload = json.dumps({
"prompt": "puppy dog running on grass",
"steps": 100
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer '+api_key
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.json()) |
Beta Was this translation helpful? Give feedback.
0 replies
-
img to img example # Python example
# Generates an image from another image and prompt
import requests
import json
api_key = "<YOUR_API_KEY>"
url = "https://api.wizmodel.com/sdapi/v1/img2img"
payload = json.dumps(
{
"prompt": "change to rainbow color",
"init_images": [
"https://gist.githubusercontent.com/bfirsh/3c2115692682ae260932a67d93fd94a8/raw/56b19f53f7643bb6c0b822c410c366c3a6244de2/mystery.jpg"
],
}
)
headers = {"Content-Type": "application/json", "Authorization": "Bearer " + api_key}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.json()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, wizmodel.com offer an always free stable duffusion API, you can check it out here https://www.wizmodel.com/docs/sdApi
It's the same SD api from this repo and hosted on GPU servers.
Beta Was this translation helpful? Give feedback.
All reactions