OpenAI API Key (BYOK)
Create an OpenAI API key, add billing, and connect it to AI Media Toolkit.
AI Media Toolkit uses your OpenAI account (Bring Your Own Key). You control cost and data flow: requests go from your server directly to OpenAI.
Step 1 — Create an account
- Go to platform.openai.com and sign up or log in.
- Confirm your email if prompted.
Step 2 — Enable billing
- Open Settings → Billing: platform.openai.com/settings/organization/billing
- Add a payment method.
- Set a monthly spend limit (recommended: €10–20 while testing).
Without billing, API calls fail with quota errors.
Step 3 — Create a secret key
- Open API keys.
- Create new secret key — name it e.g.
WordPress — AI Media Toolkit. - Copy the key (
sk-…orsk-proj-…) immediately — it is shown only once.
Treat the key like a password. Do not commit it to Git or post it in forums.
Step 4 — Connect in WordPress
- AI Media Toolkit → Settings
- Paste the key in OpenAI API Key
- Click Save & Test
- Wait for “Connected successfully” — the plugin stores
api_key_verifiedand unlocks generation everywhere (admin, Media Library, post editor).
If you change the key, you must Save & Test again.
Cost expectations
| Model | Typical use | Rough cost |
|---|---|---|
gpt-4o-mini | Metadata per image | ~€0.001 or less |
| DALL·E 3 | Featured image (Pro) | ~€0.04–0.08 per image |
1000 metadata generations ≈ €1–3 depending on image size and text length. Featured images are billed separately when you use that feature.
Current pricing: openai.com/api/pricing
Troubleshooting
| Error | Fix |
|---|---|
| Incorrect API key | Re-copy full key; create a new one if lost |
| Quota exceeded | Add billing or raise limit in OpenAI dashboard |
| Model not found | Use default gpt-4o-mini in Settings |
| Test OK but generate fails | Check image format (JPG/PNG/WebP); check “ignore small/SVG” filters |
More: FAQ
Privacy note
In BYOK mode, images and prompts are sent from your WordPress site to OpenAI under your account and OpenAI’s terms. See our Privacy Policy for subprocessors.
Managed credits (optional future mode) would route through AIMT Cloud — not required for BYOK.