Main APIAI API
POST /ai/portfolio/performance
성과 텍스트 생성
성과 텍스트 생성
AI를 활용하여 성과 텍스트를 생성합니다.
| 항목 | 값 |
|---|---|
| 메서드 | POST |
| 경로 | /ai/portfolio/performance |
| 인증 | 불필요 |
| Content-Type | application/json |
요청
POST /ai/portfolio/performance HTTP/1.1
Host: api.glowb.com
Content-Type: application/json
{
"snsData": [...],
"campaigns": [...]
}curl -X POST "https://api.glowb.com/ai/portfolio/performance" \
-H "Content-Type: application/json" \
-d '{
"snsData": [...],
"campaigns": [...]
}'const response = await fetch('/ai/portfolio/performance', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
snsData: [...],
campaigns: [...]
})
});
const performanceText = await response.json();Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
{
"performance": "AI가 생성한 성과 텍스트입니다..."
}