Skip to main content

Generate images in Datasette Agent

Project description

datasette-agent-openai-imagegen

PyPI Changelog Tests License

Generate images in Datasette agent.

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-agent-openai-imagegen

Usage

Once installed Datasette Agent will have a new tool for generating images, provided an OpenAI API key has been configured for datasette-llm.

The tool will default to using the faster, cheaper gpt-image-1-mini but can be told to use the higher quality and more expensive gpt-image-2 instead.

Development

To set up this plugin locally, first checkout the code. You can confirm it is available like this:

cd datasette-agent-openai-imagegen
# Confirm the plugin is visible
uv run datasette plugins

To run the tests:

uv run pytest

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

datasette_agent_openai_imagegen-0.1a1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file datasette_agent_openai_imagegen-0.1a1.tar.gz.

File metadata

File hashes

Hashes for datasette_agent_openai_imagegen-0.1a1.tar.gz
Algorithm Hash digest
SHA256 d691cb280b8470e16885c94a8343d5fdee71f123a41e5e0dc6a5b7e9880bd0bb
MD5 a18442f4186d0077d6640bf869be9ec2
BLAKE2b-256 4db52ab71b4e340dac5d2422c6396785cb05726d31901204cb82d14f61f2c8a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_agent_openai_imagegen-0.1a1.tar.gz:

Publisher: publish.yml on datasette/datasette-agent-openai-imagegen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 33456b136ca21ef1d11b63f63fa41072b5bd86cb2c9fd3c8f57fb87922a739e5
MD5 532cf1c1a5745d5ab3ac135bcfebd194
BLAKE2b-256 658d7ac8a1e638b09653f6a549f0e10c03f51b559908c562a10e175035fcc3a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl:

Publisher: publish.yml on datasette/datasette-agent-openai-imagegen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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