Draw
Draw · GPT アクション
Draw GPT
Create any image, photo, character, design, logo, or illustration with AI.
POST /openai/v3/image/upload_by_url/image_upload_by_urlUpload an image to the Draw GPT servers by providing a remotely accessible URL.
POST /openai/v3/website/upload_link/website_upload_linkGet a signed URL to upload an image file directly on the website.
元の API スキーマ
{
"openapi": "3.1.0",
"info": {
"title": "Draw GPT",
"description": "Create any image, photo, character, design, logo, or illustration with AI.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.drawgpt.ai"
}
],
"paths": {
"/openai/v3/image/upload_by_url/": {
"post": {
"description": "Upload an image to the Draw GPT servers by providing a remotely accessible URL.",
"operationId": "image_upload_by_url",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"image_url": {
"type": "string",
"description": "The URL of the image to upload"
},
"title": {
"type": "string",
"description": "The title of the image to upload"
},
"description": {
"type": "string",
"description": "The description of the image to upload"
},
"user_prompt": {
"type": "string",
"description": "The original prompt the user typed in to generate the image."
},
"system_prompt": {
"type": "string",
"description": "The system prompt that was actually used by the image generation service to generate the image."
},
"seed": {
"type": "string",
"description": "The seed to use for the image to upload"
}
},
"required": [
"image_url",
"title",
"description",
"user_prompt",
"system_prompt",
"seed"
]
}
}
}
}
}
},
"/openai/v3/website/upload_link/": {
"post": {
"description": "Get a signed URL to upload an image file directly on the website.",
"operationId": "website_upload_link",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the website to upload"
},
"description": {
"type": "string",
"description": "The description of the website to upload"
},
"user_prompt": {
"type": "string",
"description": "The user prompt to use for the website to upload"
},
"system_prompt": {
"type": "string",
"description": "The system prompt to use for the website to upload"
},
"seed": {
"type": "string",
"description": "The seed to use for the website to upload"
}
},
"required": [
"title",
"description",
"user_prompt",
"system_prompt",
"seed"
]
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}