πŸ€³πŸ»πŸ€–AI Qr Code Generator API

Generate customized, scalable QR codes: Integrate our API for efficient and reliable QR code implementation.

Developer Portal : https://api.market/store/magicapi/aiqrcode

Our QR Code Generation API makes it easy for developers to create QR codes for various uses like ticketing, payments, and inventory management. It features two main endpoints: GET /predictions/{request_id} to retrieve QR code images, and POST /qr to generate new QR codes with customizable options such as size, color, and error correction level. Designed for reliability and scalability, our API provides consistent performance and comprehensive documentation to simplify integration.

Endpoints

GET /predictions/{request_id - This endpoint retrieves the URL of the toonified image for a given request ID.

Request

curl -X 'GET' \
  'https://api.magicapi.dev/api/v1/magicapi/aiqrcode/predictions/hdkq7sfvq5rgw0cgwdjsknxnx8' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: API_KEY'

Response

{
  "status": "starting",
  "message": "Image is still processing, please try again after some time."
}

POST /qr - Deblurrer endpoint

Request

curl -X 'POST' \
  'https://api.magicapi.dev/api/v1/magicapi/aiqrcode/qr' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "seed": 6623517335,
  "prompt": "a row of charming houses on a hill done in folk art style please--ar 16;9  high detailed,  immaculate scale, hyper-realistic, Unreal Engine, Octane Render, digital art, trending on Artstation, 8k resolution, cinema 4d, 3D, beautiful, cinematic, art by artgerm and greg rutkowski and alphonse mucha and loish and WLOP",
  "strength": 0.9,
  "batch_size": 1,
  "guidance_scale": 13,
  "negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
  "qr_code_content": "https://magicapi.com/",
  "num_inference_steps": 40,
  "controlnet_conditioning_scale": 1.1
}'

Response

{
  "request_id": "hdkq7sfvq5rgw0cgwdjsknxnx8"
}

Developer Portal : https://api.market/store/magicapi/aiqrcode

Last updated