Okay.
This is foul.
I this is an API that I use for most of my image generation needs.
There's also replicate and a few others.
So by no means do you have to use this one, but they all kind of work the same.
And what this system does for you is it hosts a lot of these open source models or in some cases even
closed source models.
So this is the playground.
You don't actually need to know how to code to use this.
They have a form that you can use, but you can also change it to set it to JSON.
Or they give you the code to call the API as well, which makes it super easy.
The way it works is you put in your prompt and then it's just going to say change that here and then
hit submit, and it's going to make a request to the API for you.
It does charge for that request right.
You have to have billing set up here.
See here I have $47 in the account.
And then it's generated an image and you can download that.
You can also go and do other things as well.
So this costs about $0.06 for the image.
And you can see the documentation.
You can look at that specific request that you sent.
And you can look at previous requests sent as well.
You can copy the prompt and open it back up in the playground.
Background.
You can also go to additional settings and you can see what other parameters the API has.
So in this case you can set the seed.
You can use a sync mode where it will return the images or base64 data.
You can also choose how many images you get.
There's a safety checker which can't be disabled in the playground, but you can in the API if you need
to.
So that just checks is not not safe for work, images, etc..
And then there's also safety tolerance which stops from false positives.
You can choose the output format in this case an aspect ratio as well.
That's how that's how the playground works.
There's a lot of models in here.
If you look they have a lot of the new models like this is flux context.
There's also text to video like cling.
And they're all bucketed into these different groupings.
So they have ways to train the image.
They have background removal.
They have audio models, video models really everything.
And they're all filtered here.
So that's how to use it.
Just make sure that you set up a billing account.
And you can also then get your API keys in here as well whenever you need to start using it programmatically.
But I really enjoy just jumping into the playground in case I want to test out a new model without having
to run any code.