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)
Release files for prompted-art-api 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prompted_art_api-0.0.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prompted_art_api-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / prompted_art_api-0.0.1.tar.gz
| Download URL | prompted_art_api-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bc25406e2e5742d5eea566e496d8ebee31a9a8e198950bfb6ce5a990dc207f7
|
|
BLAKE2b-256 checksum How to use checksums |
e38fb41b8387f2d95875bcd97561eec80df31fb92cae4aa895a205bda5390c9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / prompted_art_api-0.0.1-py3-none-any.whl
| Download URL | prompted_art_api-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cb7e22ed9768a2ab8b081cf76f71d8dd39fc627854368128f4a3f06c3062c0a
|
|
BLAKE2b-256 checksum How to use checksums |
aefe66bfe72a15d8444534ce39371ba0cb581e21a6fa4b3562ad7672115f4c32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|