Current collected state Current
Observed since 21 Oct, 11:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python SDK for AI Image Generator API
A Python SDK for interacting with the AI Image Generator API.
pip install ai-img-gen-python
from ai_img_gen import AIImageGeneratorClient, ClientConfig, ImageGenerationOptions
# Initialize the client
client = AIImageGeneratorClient(
ClientConfig(
base_url="https://api.img-gen.ai",
api_key="your_api_key_here"
)
)
options = ImageGenerationOptions(
width=512,
height=512,
prompt="A futuristic city with flying cars and neon lights",
model="dall-e-2",
format="png",
quality=90,
optimize=True
)
image_url = client.generate_image(options)
print(f"Generated image URL: {image_url}")
from ai_img_gen import AIImageGeneratorClient, ClientConfig, ImageGenerationOptions
# Initialize the client
client = AIImageGeneratorClient(
ClientConfig(
base_url="https://api.img-gen.ai",
api_key="your_api_key_here"
)
)
# Generate an image
options = ImageGenerationOptions(
width=512,
height=512,
prompt="A futuristic city with flying cars and neon lights",
model="dall-e-2",
format="png",
quality=90,
optimize=True
)
image_url = client.generate_image(options)
print(f"Generated image URL: {image_url}")
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.4.post20250314132522Yanked | 14 Mar 2025 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 11:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6d626840afbac45ff63aacd55f7fbcb11f69a9a1197b822395368d5963375a7b