Code GPT
Code GPT · Ações GPT
B12 AI Websites
Create a professional, engaging, and user-friendly website for your business in seconds using AI.
POST /openai-gpt/create-website/code-gptCreate a website for the business
Esquema API original
{
"openapi": "3.0.1",
"info": {
"title": "B12 AI Websites",
"description": "Create a professional, engaging, and user-friendly website for your business in seconds using AI.",
"version": "v1"
},
"servers": [
{
"url": "https://b12.io/plugins"
}
],
"paths": {
"/openai-gpt/create-website/code-gpt": {
"post": {
"operationId": "createWebsite",
"summary": "Create a website for the business",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/createWebsiteRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/createWebsiteResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"createWebsiteResponse": {
"type": "object",
"required": [
"link",
"business_name",
"preview_image_link"
],
"properties": {
"link": {
"type": "string",
"description": "The link to claim newly designed website."
},
"preview_image_link": {
"type": "string",
"description": "The link with preview image of the newly designed website."
},
"business_name": {
"type": "string",
"description": "The name of the business."
}
}
},
"createWebsiteRequest": {
"type": "object",
"required": [
"business_name",
"business_description",
"business_category",
"website_hero_subtitle"
],
"properties": {
"business_name": {
"type": "string",
"description": "The name of the business."
},
"business_description": {
"type": "string",
"description": "The short description of the business in less than 1000 characters."
},
"business_category": {
"type": "string",
"description": "The AI selected category from the categories.txt file based on the business name and description."
},
"website_hero_subtitle": {
"type": "string",
"description": "The subtitle for hero section of the website based on the business name and description."
}
}
}
}
}
}