Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prompted_art_api-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file prompted_art_api-0.0.1.tar.gz.

File metadata

  • Download URL: prompted_art_api-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for prompted_art_api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9bc25406e2e5742d5eea566e496d8ebee31a9a8e198950bfb6ce5a990dc207f7
MD5 4b85a57c682d9eda5ce95417e1e4b5a5
BLAKE2b-256 e38fb41b8387f2d95875bcd97561eec80df31fb92cae4aa895a205bda5390c9c

See more details on using hashes here.

File details

Details for the file prompted_art_api-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for prompted_art_api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5cb7e22ed9768a2ab8b081cf76f71d8dd39fc627854368128f4a3f06c3062c0a
MD5 75439f4080dc54d77284a7bd411033a9
BLAKE2b-256 aefe66bfe72a15d8444534ce39371ba0cb581e21a6fa4b3562ad7672115f4c32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page