Glowb Dev Docs
SaaS APICollab 이벤트 API

POST /ai/collab/guideline

AI 가이드라인 생성

AI 가이드라인 생성

AI를 활용하여 캠페인 가이드라인을 생성합니다.

항목
메서드POST
경로/ai/collab/guideline
인증불필요
Content-Typeapplication/json

요청

POST /ai/collab/guideline HTTP/1.1
Host: api.glowb.com
Content-Type: application/json

{
  "budget": "1000000",
  "snsType": "INSTAGRAM",
  "contentFormat": "REELS",
  "campaignType": "REVIEW",
  "category": "BEAUTY",
  "productUrl": "https://example.com/product",
  "requiresVisit": "N",
  "visitAddress": null
}
curl -X POST "https://api.glowb.com/ai/collab/guideline" \
  -H "Content-Type: application/json" \
  -d '{
    "budget": "1000000",
    "snsType": "INSTAGRAM",
    "contentFormat": "REELS",
    "campaignType": "REVIEW",
    "category": "BEAUTY",
    "productUrl": "https://example.com/product",
    "requiresVisit": "N",
    "visitAddress": null
  }'
const response = await fetch('/ai/collab/guideline', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    budget: '1000000',
    snsType: 'INSTAGRAM',
    contentFormat: 'REELS',
    campaignType: 'REVIEW',
    category: 'BEAUTY',
    productUrl: 'https://example.com/product',
    requiresVisit: 'N',
    visitAddress: null
  })
});
const result = await response.json();

Request Body 스키마

Prop

Type

SnsType 값

설명
INSTAGRAM인스타그램
YOUTUBE유튜브
TIKTOK틱톡
BLOG블로그

SnsContentFormat 값

설명
REELS릴스
FEED피드
STORY스토리
SHORTS쇼츠
VIDEO일반 영상

CampaignType 값

설명
REVIEW리뷰
ADVERTISEMENT광고

CategoryType 값

설명
BEAUTY뷰티
FASHION패션
TRAVEL여행
FINANCE_BUSINESS금융/비즈니스
RESTAURANT맛집
COOKING요리
ITIT
HEALTH_FITNESS운동/건강
PARENTING_WEDDING육아/결혼
INTERIOR인테리어

응답

성공 응답 (200 OK)

{
  "status": 200,
  "code": null,
  "message": "가이드라인 생성이 완료되었습니다.",
  "data": {
    "shootingConditions": "제형 표현: 크리미한 텍스처와 빠른 흡수력을 자연광 아래에서 촬영\n발색: 손등 또는 팔에 무보정으로 발색 표현\n사용 샷: 실제 사용하는 모습을 자연스럽게 촬영",
    "keywords": "#여름선크림 #데일리선크림 #SPF50 #촉촉선크림",
    "description": "여름철 필수템 선크림 리뷰 콘텐츠입니다. 제품의 텍스처, 발림성, 지속력을 중심으로 솔직한 리뷰를 작성해주세요.",
    "productDescription": "SPF50+ PA++++ 자외선 차단제로, 촉촉한 수분감과 백탁 없는 투명한 발림성이 특징입니다.",
    "requiresVisit": "N"
  }
}

Response 스키마

Prop

Type

에러 응답

AI 서비스 오류 (500)

{
  "status": 500,
  "code": "AI_SERVICE_ERROR",
  "message": "AI 서비스 처리 중 오류가 발생했습니다.",
  "data": null
}

API 테스트

On this page