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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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