Use your Pictwirl AI credits
Pictwirl credits can be used through an OpenAI-compatible API or through an MCP client. After your paid order is verified, an access key is created for your account. Keep the key private and never place it in a browser app or public repository.
1. Check your balance
curl https://gateway.pictwirl.com/v1/account \
-H "Authorization: Bearer cc_live_YOUR_KEY"
The response shows the remaining balances for GPT tokens, image generations, and video credits.
2. Use the API
API base URL: https://gateway.pictwirl.com/v1
Authentication: send Authorization: Bearer YOUR_ACCESS_KEY with every request.
GPT chat
curl https://gateway.pictwirl.com/v1/chat/completions \
-H "Authorization: Bearer cc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"Write a short product description for a blue travel mug."}]}'
GPT usage is charged from the upstream response token count. Streaming responses are not enabled in the metered gateway yet.
Image generation
curl https://gateway.pictwirl.com/v1/images/generations \
-H "Authorization: Bearer cc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A clean ecommerce product image of a blue travel mug on a white studio background"}'
Each successful image generation uses one image credit.
Seedance video generation
curl https://gateway.pictwirl.com/v1/videos/generations \
-H "Authorization: Bearer cc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A smooth five-second product video of a blue travel mug on a clean studio table"}'
Each successful Seedance video generation uses one video credit. The returned task fields and supported generation options follow the upstream video API.
3. Connect through MCP
Use this endpoint in an MCP client:
https://gateway.pictwirl.com/mcp
Send the same private access key as an HTTP header:
Authorization: Bearer cc_live_YOUR_KEY
The available MCP tools are chatgpt_chat, image_generate, and seedance_video.
Example configuration for clients that support a remote MCP server:
{
"mcpServers": {
"pictwirl": {
"url": "https://gateway.pictwirl.com/mcp",
"headers": {
"Authorization": "Bearer cc_live_YOUR_KEY"
}
}
}
}
Important notes
- Use the exact API and MCP endpoint shown above; do not call the upstream provider directly.
- Do not share your access key. If it is exposed, contact support so it can be revoked.
- Model availability, safety filters, request limits, and output behavior can change when an upstream provider changes its service.
- Pictwirl is an independent service and is not an official OpenAI or Seedance product.
- If you paid but did not receive access instructions, contact support with your order number and checkout email before sending a key or other secret.