Minimal coffee packaging
Premium whole-bean coffee pouch standing on dark walnut, uncoated cream paper with a small black label area, morning side light, restrained props, realistic folds, front panel fully visible, no invented text.
Turn a prompt dataset into a controlled batch while preserving IDs, parameters, and retry state.
APIMart is a multi-model AI API gateway with an OpenAI-compatible endpoint. Use one account to access supported image models, compare current pricing, and choose a cost-efficient option for each workload.
Create an APIMart account ↗A pattern for test batches and catalog jobs that avoids losing traceability across outputs.
Store credentials in the environment. Record the exact model identifier, dimensions, test date, and retry count with the resulting asset.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["APIMART_API_KEY"],
base_url="https://api.apimart.ai/v1",
)
result = client.images.generate(
model="gpt-image-1-official",
prompt=PROMPT,
size="1024x1024",
n=1,
)