curl --request GET \
--url http://localhost:4010/api/users/me \
--header 'X-Api-Key: <api-key>'{
"userId": 123,
"email": "[email protected]",
"name": "<string>",
"occupation": "<string>",
"business": "<string>",
"notifyAgree": true,
"creditNotifyAgree": true,
"tutorialFinished": true,
"profileImage": "<string>",
"snsId": "<string>",
"provider": "<string>",
"role": "normal",
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"customerKey": "uuid",
"billingRetryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"nextPlanAt": "2023-11-07T05:31:56Z",
"planStartedAt": "2023-11-07T05:31:56Z",
"planId": 123,
"nextPlanId": 123,
"cardNumber": "<string>",
"cardCompany": "<string>",
"Plan": {
"planId": 123,
"grade": "<string>",
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"oneTimePayment": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": [
{
"creditCostInfoId": 123,
"planId": 123,
"upgradePlanId": 123,
"type": "collection-2x",
"credit": "1",
"watermarked": true,
"needUpgrade": true,
"Plan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": "<array>",
"Models": [
{
"modelId": 1,
"name": "sdxl",
"version": "1.0",
"apiName": "stable-diffusion-xl-1024-v1-0",
"squareSize": "512x512",
"horizontalSize": "768x512",
"verticalSize": "512x768",
"downsizing": true,
"isMainGeneration": true,
"ping": 2,
"params": "{json}",
"example": "{json}",
"backupModelId": 12,
"errorCount": 2,
"recoverCount": 3,
"useBackup": false,
"prompt": "prompt",
"needTranslate": true,
"BackupModel": "<unknown>",
"Plans": "<array>",
"Enterprises": [
{
"name": "<string>",
"categories": "Parametric,Photo,Isometric",
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"currency": "KRW",
"simultaneousLimit": 5,
"maxEditNumber": 123,
"editCountPeriod": "day",
"paymentPeriod": "monthly | yearly | bill",
"postpaid": true,
"modelUrl": "<string>",
"logo": "<string>",
"userId": 123,
"canUseOwnOnly": true,
"hasSpecialLimits": false,
"Models": "<array>"
}
]
}
]
},
"UpgradePlan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": "<array>",
"Models": [
{
"modelId": 1,
"name": "sdxl",
"version": "1.0",
"apiName": "stable-diffusion-xl-1024-v1-0",
"squareSize": "512x512",
"horizontalSize": "768x512",
"verticalSize": "512x768",
"downsizing": true,
"isMainGeneration": true,
"ping": 2,
"params": "{json}",
"example": "{json}",
"backupModelId": 12,
"errorCount": 2,
"recoverCount": 3,
"useBackup": false,
"prompt": "prompt",
"needTranslate": true,
"BackupModel": "<unknown>",
"Plans": "<array>",
"Enterprises": [
{
"name": "<string>",
"categories": "Parametric,Photo,Isometric",
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"currency": "KRW",
"simultaneousLimit": 5,
"maxEditNumber": 123,
"editCountPeriod": "day",
"paymentPeriod": "monthly | yearly | bill",
"postpaid": true,
"modelUrl": "<string>",
"logo": "<string>",
"userId": 123,
"canUseOwnOnly": true,
"hasSpecialLimits": false,
"Models": "<array>"
}
]
}
]
}
}
],
"priceObj": {
"price": 5900,
"price_dis": "5,900원",
"currency": "KRW",
"price_yearly": 59000,
"price_reg": "7,900원",
"stripe_key": "price_abcdefgh1234567",
"stripe_key_yearly": "price_abcdefgh1234567"
},
"titleName": "<string>"
},
"cardRegistered": true,
"useStripe": true,
"maxCredit": 1,
"EnterpriseDownload": [
{
"enterpriseDownloadId": 123,
"scaleSize": [
"1x",
"2x",
"4x",
"8x"
],
"credit": 1,
"userId": 123
}
],
"Enterprise": {
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"simultaneousLimit": 5,
"maxEditNumber": 123,
"paymentPeriod": "monthly | yearly | bill"
}
}curl --request GET \
--url http://localhost:4010/api/users/me \
--header 'X-Api-Key: <api-key>'{
"userId": 123,
"email": "[email protected]",
"name": "<string>",
"occupation": "<string>",
"business": "<string>",
"notifyAgree": true,
"creditNotifyAgree": true,
"tutorialFinished": true,
"profileImage": "<string>",
"snsId": "<string>",
"provider": "<string>",
"role": "normal",
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"customerKey": "uuid",
"billingRetryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"nextPlanAt": "2023-11-07T05:31:56Z",
"planStartedAt": "2023-11-07T05:31:56Z",
"planId": 123,
"nextPlanId": 123,
"cardNumber": "<string>",
"cardCompany": "<string>",
"Plan": {
"planId": 123,
"grade": "<string>",
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"oneTimePayment": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": [
{
"creditCostInfoId": 123,
"planId": 123,
"upgradePlanId": 123,
"type": "collection-2x",
"credit": "1",
"watermarked": true,
"needUpgrade": true,
"Plan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": "<array>",
"Models": [
{
"modelId": 1,
"name": "sdxl",
"version": "1.0",
"apiName": "stable-diffusion-xl-1024-v1-0",
"squareSize": "512x512",
"horizontalSize": "768x512",
"verticalSize": "512x768",
"downsizing": true,
"isMainGeneration": true,
"ping": 2,
"params": "{json}",
"example": "{json}",
"backupModelId": 12,
"errorCount": 2,
"recoverCount": 3,
"useBackup": false,
"prompt": "prompt",
"needTranslate": true,
"BackupModel": "<unknown>",
"Plans": "<array>",
"Enterprises": [
{
"name": "<string>",
"categories": "Parametric,Photo,Isometric",
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"currency": "KRW",
"simultaneousLimit": 5,
"maxEditNumber": 123,
"editCountPeriod": "day",
"paymentPeriod": "monthly | yearly | bill",
"postpaid": true,
"modelUrl": "<string>",
"logo": "<string>",
"userId": 123,
"canUseOwnOnly": true,
"hasSpecialLimits": false,
"Models": "<array>"
}
]
}
]
},
"UpgradePlan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": "<array>",
"Models": [
{
"modelId": 1,
"name": "sdxl",
"version": "1.0",
"apiName": "stable-diffusion-xl-1024-v1-0",
"squareSize": "512x512",
"horizontalSize": "768x512",
"verticalSize": "512x768",
"downsizing": true,
"isMainGeneration": true,
"ping": 2,
"params": "{json}",
"example": "{json}",
"backupModelId": 12,
"errorCount": 2,
"recoverCount": 3,
"useBackup": false,
"prompt": "prompt",
"needTranslate": true,
"BackupModel": "<unknown>",
"Plans": "<array>",
"Enterprises": [
{
"name": "<string>",
"categories": "Parametric,Photo,Isometric",
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"currency": "KRW",
"simultaneousLimit": 5,
"maxEditNumber": 123,
"editCountPeriod": "day",
"paymentPeriod": "monthly | yearly | bill",
"postpaid": true,
"modelUrl": "<string>",
"logo": "<string>",
"userId": 123,
"canUseOwnOnly": true,
"hasSpecialLimits": false,
"Models": "<array>"
}
]
}
]
}
}
],
"priceObj": {
"price": 5900,
"price_dis": "5,900원",
"currency": "KRW",
"price_yearly": 59000,
"price_reg": "7,900원",
"stripe_key": "price_abcdefgh1234567",
"stripe_key_yearly": "price_abcdefgh1234567"
},
"titleName": "<string>"
},
"cardRegistered": true,
"useStripe": true,
"maxCredit": 1,
"EnterpriseDownload": [
{
"enterpriseDownloadId": 123,
"scaleSize": [
"1x",
"2x",
"4x",
"8x"
],
"credit": 1,
"userId": 123
}
],
"Enterprise": {
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"simultaneousLimit": 5,
"maxEditNumber": 123,
"paymentPeriod": "monthly | yearly | bill"
}
}My Information(내 정보)
아이디
이메일
이름
직업
업종
마케팅 동의 여부
크레딧 충전 알림 동의 여부
튜토리얼 완료 여부
프로필이미지 주소
SNS아이디
로그인 수단
역할
"normal"
크레딧
400
매일 제공 크레딧
10
매월 제공 크레딧
200
토스페이먼츠 고객키
"uuid"
빌링 마지막 재시도 날짜
가입일
다음 플랜 시작일(이날 새로 결제됨)
플랜 시작일
플랜아이디
다음 플랜 아이디(null이면 현재 플랜 그대로 유지)
카드 번호(마스킹됨)
카드 회사
플랜 정보
Show child attributes
아이디
등급
마이너스 허용 크레딧 수
최대 스타일 수
동시 생성 제한
최대 일괄 이미지 선택 수
최대 편집 수
최대 프롬프트 수
결제 주기
month, day 일회성 결제 요금제 여부
크레딧
400
매일 제공 크레딧
10
월 제공 크레딧
200
크레딧소모정보
Show child attributes
아이디
플랜 아이디
업그레이드 추천 플랜 아이디
유형
"collection-2x"
소모 크레딧
"1"
워터마크 여부
왕관 여부
플랜
Show child attributes
아이디
등급
이름
내역 조회 개월수
마이너스 허용 크레딧 수
최대 스타일 수
동시 생성 제한
최대 일괄 이미지 선택 수
최대 편집 수
최대 프롬프트 수
결제 주기
month, day 플랜명 다국어화
요금제다국어화(<*>는 en,ko.jp 등을 의미)
Show child attributes
Show child attributes
가격
5900
할인가
"5,900원"
통화
"KRW"
연가격
59000
정가
"7,900원"
스트라이프 키
"price_abcdefgh1234567"
스트라이프 연결제 키
"price_abcdefgh1234567"
프리미엄 컬렉션 이용 여부
일회성 결제 요금제 여부
활성화여부
크레딧
400
매일 제공 크레딧
10
월 제공 크레딧
200
크레딧소모정보
귀속 모델
Show child attributes
아이디
1
기반 모델
sdxl, replicate 버전명
"1.0"
api명
"stable-diffusion-xl-1024-v1-0"
정사각형사이즈
"512x512"
가로형사이즈
"768x512"
세로형사이즈
"512x768"
다운사이징 여부
대표 생성 모델 여부
콜드부트 핑(분 단위)
2
파라미터
"{json}"
예시(복구 확인용)
"{json}"
백업 모델아이디
12
에러 카운트
2
백업 복구 카운트
3
백업 모델 사용 여부
false
모델 전용 프롬프트
"prompt"
번역 필요 여부
true
백업 모델
귀속 플랜
귀속 기업
Show child attributes
사명
카테고리목록
"Parametric,Photo,Isometric"
유효기한
월 지급 크레딧
2000
연 지급 크레딧
20000
금액
119000
통화
"KRW"
동시 생성 제한
5
최대 편집 수
편집 횟수 주기(day - 오늘 | month - 월초 | plan - 플랜 시작일부터)
day, month, plan "day"
결제 주기
"monthly | yearly | bill"
후청구 계정 여부(월크레딧 초과 허용)
true
모델 API 주소(replicate)
로고 주소
유저 아이디
자신의 스타일만 사용하도록 강제
true
개별 기능 제한 적용
false
귀속 모델
업그레이드 추천 플랜
Show child attributes
아이디
등급
이름
내역 조회 개월수
마이너스 허용 크레딧 수
최대 스타일 수
동시 생성 제한
최대 일괄 이미지 선택 수
최대 편집 수
최대 프롬프트 수
결제 주기
month, day 플랜명 다국어화
요금제다국어화(<*>는 en,ko.jp 등을 의미)
Show child attributes
Show child attributes
가격
5900
할인가
"5,900원"
통화
"KRW"
연가격
59000
정가
"7,900원"
스트라이프 키
"price_abcdefgh1234567"
스트라이프 연결제 키
"price_abcdefgh1234567"
프리미엄 컬렉션 이용 여부
일회성 결제 요금제 여부
활성화여부
크레딧
400
매일 제공 크레딧
10
월 제공 크레딧
200
크레딧소모정보
귀속 모델
Show child attributes
아이디
1
기반 모델
sdxl, replicate 버전명
"1.0"
api명
"stable-diffusion-xl-1024-v1-0"
정사각형사이즈
"512x512"
가로형사이즈
"768x512"
세로형사이즈
"512x768"
다운사이징 여부
대표 생성 모델 여부
콜드부트 핑(분 단위)
2
파라미터
"{json}"
예시(복구 확인용)
"{json}"
백업 모델아이디
12
에러 카운트
2
백업 복구 카운트
3
백업 모델 사용 여부
false
모델 전용 프롬프트
"prompt"
번역 필요 여부
true
백업 모델
귀속 플랜
귀속 기업
Show child attributes
사명
카테고리목록
"Parametric,Photo,Isometric"
유효기한
월 지급 크레딧
2000
연 지급 크레딧
20000
금액
119000
통화
"KRW"
동시 생성 제한
5
최대 편집 수
편집 횟수 주기(day - 오늘 | month - 월초 | plan - 플랜 시작일부터)
day, month, plan "day"
결제 주기
"monthly | yearly | bill"
후청구 계정 여부(월크레딧 초과 허용)
true
모델 API 주소(replicate)
로고 주소
유저 아이디
자신의 스타일만 사용하도록 강제
true
개별 기능 제한 적용
false
귀속 모델
플랜 가격 정보
Show child attributes
가격
5900
할인가
"5,900원"
통화
"KRW"
연가격
59000
정가
"7,900원"
스트라이프 키
"price_abcdefgh1234567"
스트라이프 연결제 키
"price_abcdefgh1234567"
플랜명(다국어화)
카드 등록 여부
스트라이프 사용 여부
크레딧 한도
x >= 0엔터프라이즈 정보
Show child attributes
유효기한
월 지급 크레딧
2000
연 지급 크레딧
20000
금액
119000
동시 생성 제한
5
최대 편집 수
결제 주기
"monthly | yearly | bill"