Main APIAI API
POST /ai/portfolio/content
포트폴리오 콘텐츠 생성
포트폴리오 콘텐츠 생성
AI를 활용하여 포트폴리오 콘텐츠(소개, 배지, 카테고리)를 생성합니다.
| 항목 | 값 |
|---|---|
| 메서드 | POST |
| 경로 | /ai/portfolio/content |
| 인증 | 불필요 |
| Content-Type | application/json |
요청
POST /ai/portfolio/content HTTP/1.1
Host: api.glowb.com
Content-Type: application/json
{
"snsData": [...],
"category": "뷰티"
}curl -X POST "https://api.glowb.com/ai/portfolio/content" \
-H "Content-Type: application/json" \
-d '{
"snsData": [...],
"category": "뷰티"
}'const response = await fetch('/ai/portfolio/content', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
snsData: [...],
category: '뷰티'
})
});
const aiContent = await response.json();Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
{
"intro": "AI가 생성한 소개 텍스트",
"badges": ["뷰티", "라이프스타일"],
"recommendedCategories": ["뷰티", "패션"]
}Response 스키마
Prop
Type