curl --request GET \
--url http://localhost:4010/api/users/me \
--header 'X-Api-Key: <api-key>'{
"userId": 123,
"email": "jsmith@example.com",
"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,
"featured": 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,
"nameGlobal": {},
"descriptionGlobal": {},
"logo": "/images/models/vlmg-logo.png",
"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,
"nameGlobal": {},
"descriptionGlobal": {},
"logo": "/images/models/vlmg-logo.png",
"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원",
"price_app": "5,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": "jsmith@example.com",
"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,
"featured": 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,
"nameGlobal": {},
"descriptionGlobal": {},
"logo": "/images/models/vlmg-logo.png",
"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,
"nameGlobal": {},
"descriptionGlobal": {},
"logo": "/images/models/vlmg-logo.png",
"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원",
"price_app": "5,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
카드 등록 여부
스트라이프 사용 여부
크레딧 한도
x >= 0엔터프라이즈 다운로드 정보
Show child attributes
엔터프라이즈 정보
Show child attributes