Generate images in Datasette Agent
Project description
datasette-agent-openai-imagegen
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_agent_openai_imagegen-0.1a1.tar.gz.
File metadata
- Download URL: datasette_agent_openai_imagegen-0.1a1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d691cb280b8470e16885c94a8343d5fdee71f123a41e5e0dc6a5b7e9880bd0bb
|
|
| MD5 |
a18442f4186d0077d6640bf869be9ec2
|
|
| BLAKE2b-256 |
4db52ab71b4e340dac5d2422c6396785cb05726d31901204cb82d14f61f2c8a3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_agent_openai_imagegen-0.1a1.tar.gz -
Subject digest:
d691cb280b8470e16885c94a8343d5fdee71f123a41e5e0dc6a5b7e9880bd0bb - Sigstore transparency entry: 1520786643
- Sigstore integration time:
-
Permalink:
datasette/datasette-agent-openai-imagegen@6f2d8821aa3cd9b1379fd09b5f77d3ae0935ae1c -
Branch / Tag:
refs/tags/0.1a1 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f2d8821aa3cd9b1379fd09b5f77d3ae0935ae1c -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl.
File metadata
- Download URL: datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33456b136ca21ef1d11b63f63fa41072b5bd86cb2c9fd3c8f57fb87922a739e5
|
|
| MD5 |
532cf1c1a5745d5ab3ac135bcfebd194
|
|
| BLAKE2b-256 |
658d7ac8a1e638b09653f6a549f0e10c03f51b559908c562a10e175035fcc3a6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_agent_openai_imagegen-0.1a1-py3-none-any.whl -
Subject digest:
33456b136ca21ef1d11b63f63fa41072b5bd86cb2c9fd3c8f57fb87922a739e5 - Sigstore transparency entry: 1520786710
- Sigstore integration time:
-
Permalink:
datasette/datasette-agent-openai-imagegen@6f2d8821aa3cd9b1379fd09b5f77d3ae0935ae1c -
Branch / Tag:
refs/tags/0.1a1 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f2d8821aa3cd9b1379fd09b5f77d3ae0935ae1c -
Trigger Event:
release
-
Statement type: