✨Even fancier pics✨
This commit is contained in:
parent
a1f16408db
commit
6ab7b7d0ef
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export class UserCommand extends Command {
|
||||||
const balance = (await creditCountResponse.json()).credits || 0;
|
const balance = (await creditCountResponse.json()).credits || 0;
|
||||||
|
|
||||||
if (balance > 5) {
|
if (balance > 5) {
|
||||||
const imageGenResponse = await fetch(`https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v0-9/text-to-image`, {
|
const imageGenResponse = await fetch(`https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/text-to-image`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
Loading…
Add table
Reference in a new issue