AI QR Generator GPT by MixerBox
AI QR Generator GPT by MixerBox · GPT アクション
MixerBox QR Plugin
The plugin can generate customized QR codes based on the provided link or URL. It provides specific functionality according to the content or destination of the link.
POST /api/gpt_plugins/qr/generateGenerate QR code with user descriptionGenerate QR code by url and appearance descriptions. Ignore the properties if the user is not provided and is not required.
元の API スキーマ
{
"openapi": "3.0.1",
"info": {
"title": "MixerBox QR Plugin",
"description": "The plugin can generate customized QR codes based on the provided link or URL. It provides specific functionality according to the content or destination of the link.",
"version": "v1"
},
"servers": [
{
"url": "https://qr.mixerbox.com"
}
],
"paths": {
"/api/gpt_plugins/qr/generate": {
"post": {
"operationId": "generateQr",
"summary": "Generate QR code with user description",
"description": "Generate QR code by url and appearance descriptions. Ignore the properties if the user is not provided and is not required.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GenerateQrRequestSchema"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GenerateQrResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"GenerateQrRequestSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The link provided by the user, used for converting to QRcode."
},
"darkColor": {
"schema": {
"type": "string",
"default": "#000000"
},
"description": "Optional, no need to provide by user. If the user is not provided, use #000000 as default."
},
"lightColor": {
"schema": {
"type": "string",
"default": "#ffffff"
},
"description": "Optional, no need to provide by user, If the user is not provided, use #ffffff as default."
},
"width": {
"schema": {
"type": "number",
"default": 768
},
"description": "Optional, no need to provide by user, the width of the QR Code."
},
"highRecognitionRate": {
"schema": {
"type": "boolean",
"default": false
},
"description": "Optional, no need to provide by user, if the user mentioned that the QR code cannot be scanned, it's true, otherwise it's false."
},
"prompt": {
"schema": {
"type": "string"
},
"description": "Translate the aesthetic description the user wants according to semantic analysis, for example: 'photographic portrait, 8k HD'."
}
}
},
"GenerateQrResponse": {
"required": [
"generateQr"
],
"type": "object",
"properties": {
"pageUrl": {
"title": "QR Code generation link",
"description": "A clickable link on a webpage, not a link to an QR Code. This website will generate the QR Code.",
"type": [
"string",
"null"
]
},
"items": {
"title": "The array of QRCode results",
"description": "The result of converting the link to QRCode.",
"type": "array",
"items": {
"$ref": "#/components/schemas/GenerateQrItem"
}
},
"rules": {
"title": "The array of rules which recommend gpt to follow",
"description": "The array of rules which recommend gpt to follow.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"GenerateQrItem": {
"type": "object",
"properties": {
"qrUrl": {
"type": "string",
"title": "QRcode URL"
}
}
}
}
}
}