Link in Bio Creator 😎 Personal Page in 2 min
Link in Bio Creator 😎 Personal Page in 2 min · GPT Actions
Your Link In Bio Generator
POST /api/profile/gpt/renderpost_fPOST /api/profile/gpt/upload-profile-pictureUploads a profile picture from chat for a given public handleUploads a file reference using its file id. This file should be an image created by DALL·E or uploaded by the user. JPG, WEBP, and PNG are supported. Purpose of the file is to be used as a profile picture.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Your Link In Bio Generator",
"version": "1.0"
},
"servers": [
{
"url": "https://b1o-link.vercel.app",
"description": "Server"
}
],
"components": {
"schemas": {},
"parameters": {}
},
"paths": {
"/api/profile/gpt/render": {
"post": {
"summary": "",
"x-openai-isConsequential": false,
"operationId": "post_f",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"publicHandle": {
"type": "string"
},
"secretKeyForThisPublicHandle": {
"type": "string"
},
"profilePictureUrl": {
"type": "string",
"description": "For providing profile picture as URL"
},
"name": {
"type": "string"
},
"bio": {
"type": "string",
"description": "Very short, twitter sized bio",
"example": "Entrepreneur • Software Engineer • Obsessed with Crows"
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"displayText": {
"type": "string"
}
},
"required": [
"url",
"displayText"
]
}
},
"socials": {
"type": "array",
"items": {
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"Instagram",
"Facebook",
"Twitter",
"TikTok",
"YouTube",
"Twitch",
"Spotify",
"Soundcloud",
"Telegram",
"Messenger",
"WhatsApp",
"Discord",
"LinkedIn",
"GitHub",
"Venmo",
"CashApp",
"PayPal",
"Patreon",
"BuyMeACoffee"
]
},
"url": {
"type": "string",
"description": "Full URL to the profile"
}
},
"required": [
"platform",
"url"
]
}
}
},
"required": [
"publicHandle",
"links",
"socials"
]
}
}
}
},
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sayToUser": {
"type": "string",
"description": "EXACT text to say to the user"
}
},
"required": [
"sayToUser"
]
}
}
}
},
"422": {
"description": "Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sayToUser": {
"type": "string"
}
},
"required": [
"sayToUser"
]
}
}
}
}
}
}
},
"/api/profile/gpt/upload-profile-picture": {
"post": {
"summary": "Uploads a profile picture from chat for a given public handle",
"description": "Uploads a file reference using its file id. This file should be an image created by DALL·E or uploaded by the user. JPG, WEBP, and PNG are supported. Purpose of the file is to be used as a profile picture.",
"x-openai-isConsequential": false,
"operationId": "post_h",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"publicHandle": {
"type": "string"
},
"secretKeyForThisPublicHandle": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"publicHandle",
"secretKeyForThisPublicHandle",
"openaiFileIdRefs"
]
}
}
}
},
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sayToUser": {
"type": "string",
"description": "EXACT text to say to the user"
}
},
"required": [
"sayToUser"
]
}
}
}
},
"422": {
"description": "Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
}
},
"webhooks": {}
}