Authentication
Authenticate your API requests by including your secret API key in the request headers. You can generate or manage your API keys in your account dashboard.
Authorization: Bearer QS_LIVE_YOUR_API_KEY_HERE
Warning: Keep your API key secure. Do not share it in publicly accessible client-side code (like frontend JavaScript).
AI Copy Architect
Generates high-converting marketing copy based on proven psychological frameworks (AIDA, PAS, etc.).
Request Parameters
| Parameter | Description |
|---|---|
|
product string
Required
|
The name of the product or service you are selling. |
|
desc string
Required
|
A detailed description of what the product does and the problems it solves. |
| framework string | The psychological framework to use. Options: AIDA, PAS, BAB. Default is AIDA. |
Example Request (cURL)
curl -X POST https://quantumstudioai.co.uk/api_generate_copy.php \
-H "Authorization: Bearer QS_LIVE_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product": "Quantum Studio",
"desc": "All-in-one AI agency software",
"framework": "PAS"
}'
Response
{
"status": "success",
"result": "<h3>Problem</h3><p>Agencies spend too much time on mundane tasks...</p>",
"credits_remaining": 495
}
Dynamic QR Generator
Programmatically generate dynamic QR codes that can be redirected later without reprinting.
Example Request
curl -X POST https://quantumstudioai.co.uk/api_create_qr.php \
-H "Authorization: Bearer QS_LIVE_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination_url": "https://yourclient.com/promo",
"qr_color": "#00e5ff",
"track_scans": true
}'
To update a QR code's destination later, use the /api_update_qr.php endpoint.