Pinn from Seenapse
Pinn from Seenapse · Acciones GPT
Pinn Inspiration API
API for providing Pinn with divergent inspiration for idea generation.
POST /pinnGet divergent inspirations
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Pinn Inspiration API",
"description": "API for providing Pinn with divergent inspiration for idea generation.",
"version": "v0.0.3"
},
"servers": [
{
"url": "https://pinn.seenapse.ai"
}
],
"paths": {
"/pinn": {
"post": {
"summary": "Get divergent inspirations",
"operationId": "getInspirations",
"tags": [
"Inspiration"
],
"requestBody": {
"description": "Input data for divergent inspiration",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InspirationInput"
}
}
}
},
"responses": {
"200": {
"description": "Successful response with inspirations",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InspirationResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"InspirationInput": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"description": "User-provided information for the creative task."
},
"divergence": {
"type": "string",
"enum": [
"low",
"high"
],
"description": "The level of creative divergence: 'low' for creative, 'high' for super-creative."
},
"user_id": {
"type": "string",
"pattern": "^OA-[A-Za-z0-9]{10}$",
"description": "A unique identifier for the user."
}
},
"required": [
"brief",
"divergence",
"user_id"
]
},
"InspirationResponse": {
"type": "object",
"properties": {
"inspirations": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array containing seven different inspirations."
}
},
"required": [
"inspirations"
]
}
}
}
}