AI generates image services based on text.
npm i
npm start
fetch('http://localhost:9000', {
method: 'POST',
headers: {
'content-type': 'application/json'
},
body: JSON.stringify({
prompt: 'Cow in the sky'
})
}){
"code": 1,
"message": "",
"data": [
"base64image",
"base64image",
"base64image"
]
}-
Web
-
微信小程序
