Stability-AI / api-interfaces

Interface definitions for API interactions between components
140 stars 78 forks source link

[Request] Add documentation with simple HTTP endpoints #56

Closed CombainerA19 closed 1 year ago

CombainerA19 commented 1 year ago

Sometimes over advancment create problems.

Greetings. I am looking to implement my workflows with simple HTTP requests GET/POST, they usually include:

Example of minimum data that can be send to API as JSON:

stability.ai/api/txt2img { "prompt":"invisible crocodile", "cfg scale": "11", "steps": "150", "number of img": "3", } and all other settings will be default of some kind, however could be also customized via request

Requesting Stability AI team and community to share documentation regarding simple HTTP API for people who are not console coders. Thank you!

P.s. reference to simple API by Twitter: https://developer.twitter.com/en/docs/twitter-api/migrate/twitter-api-endpoint-map

feizhaojun commented 1 year ago

Stability use gRPC implementation, I'm afraid there is no public HTTP API available by the team.

johnsabath commented 1 year ago

Exciting news, we have a REST API in developer preview! https://api.stability.ai/docs

drewlustro commented 1 year ago

Exciting news, we have a REST API in developer preview! api.stability.ai/docs

Wow, that works great. Thank you!