YourArtist
YourArtist · GPT 작업
lyric2song API
API for interacting with lyric2songAPI.
POST /api/third/lyric2songlyric2song APIrequest this interface and get the response
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "lyric2song API",
"description": "API for interacting with lyric2songAPI.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api-gpt.yourartist.ai"
}
],
"paths": {
"/api/third/lyric2song": {
"post": {
"summary": "lyric2song API",
"description": "request this interface and get the response",
"operationId": "lyric2song",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"lyrics": {
"type": "string",
"example": "lalalala hahahaha"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response with data from lyric2song service",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"response": {
"type": "string",
"default": "Response from YourArtist chat service"
}
}
}
}
}
}
},
"headers": {
"Authority": {
"schema": {
"type": "string"
},
"default": "api-test.yourartist.ai"
},
"Accept": {
"schema": {
"type": "string"
},
"default": "application/json, text/plain, */*"
},
"Accept-Language": {
"schema": {
"type": "string"
},
"default": "zh-CN,zh;q=0.9,en;q=0.8"
},
"Content-Type": {
"schema": {
"type": "string"
},
"default": "application/json"
},
"Cookie": {
"schema": {
"type": "string"
},
"default": "_ga=GA1.1.24778303.1688477370; _ga_C20ZLTLBV0=GS1.1.1700655634.14.1.1700655663.0.0.0; _ga_HT5945C92L=GS1.1.1701162333.61.0.1701162337.0.0.0"
},
"Origin": {
"schema": {
"type": "string"
},
"default": "https://www-test.yourartist.ai"
},
"Referer": {
"schema": {
"type": "string"
},
"default": "https://www-test.yourartist.ai/"
},
"Sec-CH-UA": {
"schema": {
"type": "string"
},
"default": "\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""
},
"Sec-CH-UA-Mobile": {
"schema": {
"type": "string"
},
"default": "?0"
},
"Sec-CH-UA-Platform": {
"schema": {
"type": "string"
},
"default": "\"macOS\""
},
"Sec-Fetch-Dest": {
"schema": {
"type": "string"
},
"default": "empty"
},
"Sec-Fetch-Mode": {
"schema": {
"type": "string"
},
"default": "cors"
},
"Sec-Fetch-Site": {
"schema": {
"type": "string"
},
"default": "same-site"
},
"Token": {
"schema": {
"type": "string"
},
"default": "WHVJaSUAqR2UyIf6Z6ev69WoNVG1A9e6"
},
"User-Agent": {
"schema": {
"type": "string"
},
"default": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
}
}
}
}
}
}