Skip to content

yodagg/text2image-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text2image

AI generates image services based on text.

the services they provide

craiyon

node-craiyon

use

start server

npm i
npm start

request

fetch('http://localhost:9000', {
    method: 'POST',
    headers: {
        'content-type': 'application/json'
    },
    body: JSON.stringify({
        prompt: 'Cow in the sky'
    })
})

return

{
    "code": 1,
    "message": "",
    "data": [
        "base64image",
        "base64image",
        "base64image"
    ]
}

example

text2image-client

preview

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published