An API REST client for Prompted.art
Project description
An API REST client for Prompted.art
This is a simple API client to send your generated art to prompted.art.
from prompted_art_api.client import PromptedArtAPI
client = PromptedArtAPI(
api_key="334d39db1f0d43859419bf5039a49a1b206062e5"
)
data = {
"prompt": "test from colab",
"source": "midjourney",
"url": "https://cdn.discordapp.com/attachments/1005626976016531567/1005858741767372873/-n_9_-i_-S_3792373097_ts-1659885810_idx-4.png",
}
result = client.create_prompt(data=data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prompted_art_api-0.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for prompted_art_api-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb7e22ed9768a2ab8b081cf76f71d8dd39fc627854368128f4a3f06c3062c0a |
|
MD5 | 75439f4080dc54d77284a7bd411033a9 |
|
BLAKE2b-256 | aefe66bfe72a15d8444534ce39371ba0cb581e21a6fa4b3562ad7672115f4c32 |