WEBVTT

00:00.600 --> 00:00.960
Okay.

00:01.000 --> 00:02.200
This is foul.

00:02.520 --> 00:07.160
I this is an API that I use for most of my image generation needs.

00:07.200 --> 00:09.320
There's also replicate and a few others.

00:09.360 --> 00:13.840
So by no means do you have to use this one, but they all kind of work the same.

00:13.880 --> 00:20.400
And what this system does for you is it hosts a lot of these open source models or in some cases even

00:20.400 --> 00:21.560
closed source models.

00:21.960 --> 00:23.120
So this is the playground.

00:23.120 --> 00:26.040
You don't actually need to know how to code to use this.

00:26.440 --> 00:33.000
They have a form that you can use, but you can also change it to set it to JSON.

00:33.200 --> 00:38.120
Or they give you the code to call the API as well, which makes it super easy.

00:38.520 --> 00:45.440
The way it works is you put in your prompt and then it's just going to say change that here and then

00:45.480 --> 00:50.680
hit submit, and it's going to make a request to the API for you.

00:50.720 --> 00:53.560
It does charge for that request right.

00:53.640 --> 00:55.440
You have to have billing set up here.

00:55.560 --> 00:57.560
See here I have $47 in the account.

00:57.840 --> 01:01.440
And then it's generated an image and you can download that.

01:01.480 --> 01:03.600
You can also go and do other things as well.

01:03.600 --> 01:05.960
So this costs about $0.06 for the image.

01:06.360 --> 01:10.200
And you can see the documentation.

01:10.680 --> 01:14.040
You can look at that specific request that you sent.

01:14.320 --> 01:16.760
And you can look at previous requests sent as well.

01:16.800 --> 01:20.000
You can copy the prompt and open it back up in the playground.

01:20.000 --> 01:20.090
Background.

01:20.410 --> 01:25.970
You can also go to additional settings and you can see what other parameters the API has.

01:26.210 --> 01:28.410
So in this case you can set the seed.

01:28.650 --> 01:34.530
You can use a sync mode where it will return the images or base64 data.

01:35.290 --> 01:37.610
You can also choose how many images you get.

01:37.730 --> 01:43.690
There's a safety checker which can't be disabled in the playground, but you can in the API if you need

01:43.690 --> 01:44.010
to.

01:44.530 --> 01:48.410
So that just checks is not not safe for work, images, etc..

01:48.610 --> 01:52.890
And then there's also safety tolerance which stops from false positives.

01:53.170 --> 01:57.810
You can choose the output format in this case an aspect ratio as well.

01:58.330 --> 02:00.770
That's how that's how the playground works.

02:00.810 --> 02:02.490
There's a lot of models in here.

02:02.490 --> 02:06.010
If you look they have a lot of the new models like this is flux context.

02:06.290 --> 02:08.450
There's also text to video like cling.

02:08.730 --> 02:11.410
And they're all bucketed into these different groupings.

02:11.410 --> 02:13.570
So they have ways to train the image.

02:13.570 --> 02:15.450
They have background removal.

02:15.730 --> 02:18.890
They have audio models, video models really everything.

02:18.890 --> 02:20.410
And they're all filtered here.

02:20.770 --> 02:23.010
So that's how to use it.

02:23.330 --> 02:26.690
Just make sure that you set up a billing account.

02:26.690 --> 02:32.970
And you can also then get your API keys in here as well whenever you need to start using it programmatically.

02:32.970 --> 02:38.370
But I really enjoy just jumping into the playground in case I want to test out a new model without having

02:38.410 --> 02:39.610
to run any code.
