cURL
curl --request POST \ --url https://api.magichour.ai/v1/ai-qr-code-generator \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Qr Code image", "content": "https://magichour.ai", "style": { "art_style": "Watercolor" } }'
{ "id": "clx7uu86w0a5qp55yxz315r6r", "frame_cost": 20, "credits_charged": 20 }
Create an AI QR code. Each QR code costs 20 credits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Body
The body is of type object.
object
Success
Was this page helpful?