Make Crazy Art with the NEW OpenAI Dall-e API

Learn how to create your own AI art with OpenAI's Dall-e models. The new Image Generation API was just announced yesterday allowing anybody to create images from text programmatically with JavaScript or Python.
#tech #ai #programming
OpenAI Docs beta.openai.com/docs/guides/i...
Preview App labs.openai.com

Пікірлер: 144

  • @nannan3347
    @nannan3347 Жыл бұрын

    If I were to use their API at the same volume I use Stable Diffusion in my spare time, I’d be spending $2,000 a month. The only thing “open” about this is your wallet.

  • @AdityaTripathi

    @AdityaTripathi

    Жыл бұрын

    Couldn't have said it better

  • @anazi

    @anazi

    Жыл бұрын

    Is there a way we can add Stable Diffusion on a React Native App ?

  • @katech6020

    @katech6020

    Жыл бұрын

    ​@@anazi you can run it on your server and create an api for it. probably someone has already done that

  • @anazi

    @anazi

    Жыл бұрын

    @@katech6020 I though we could use the power of their phones instead of us paying the bills 😆😆

  • @sealoftime

    @sealoftime

    Жыл бұрын

    @@anazi unsure if phones are capable of handling that much. But you can always simplify a model for simpler worse quality results, retrain that and embed inside of your app

  • @Frozander
    @Frozander Жыл бұрын

    OpenAI POV: "For your own safety we can't share the model despite our mission statement saying we want openness in AI. Because nude photo generator 9000 and cleverbot 2 are too dangerous to release to public. Pay us money to use them also we limit what you can use it for"

  • @munyxxi

    @munyxxi

    Жыл бұрын

    Stable Diffusion: "Fine, I'll do it myself"

  • @speedfastman

    @speedfastman

    Жыл бұрын

    You expect a company to run on thin air instead of money?

  • @munyxxi

    @munyxxi

    Жыл бұрын

    @@speedfastman Nah, but if you are not going to be open, don't call yourself open. ai

  • @speedfastman

    @speedfastman

    Жыл бұрын

    @@munyxxi Hey man if you fall for the name, that's on you.

  • @munyxxi

    @munyxxi

    Жыл бұрын

    @@speedfastman so, false advertisement is ok now? I can name a restaurant "Vegan Paradise", only offer meat dishes and when they complaint say "Hey man if you fall for the name that's on you “? Really?

  • @caiohussid184
    @caiohussid184 Жыл бұрын

    At this point i see no reason to give spotlight to Dall-e when Stable Diffusion exists, seems to give much better results with less effort in prompt, has no restriction in what you can query and is free for self hosting or incredibly cheaper when deployed in cloud

  • @TPNYC

    @TPNYC

    Жыл бұрын

    My thought exactly. Dall-E is irrelevant after Stable Diffusion

  • @cicamaca725

    @cicamaca725

    Жыл бұрын

    There are google collabs with Stable Diffusion. Completely free.

  • Жыл бұрын

    I'm curious what would be the outcome of a feedback loop between this and an image captioning api

  • @axelanderson2030

    @axelanderson2030

    Жыл бұрын

    Random noise

  • @ninopreuss2549
    @ninopreuss2549 Жыл бұрын

    using stable diffusino might be quite a bit cheaper, you could host it somewhere where you pay a fraction of dalle for the compute time

  • @seedmole
    @seedmole Жыл бұрын

    Shortly before one of their big reductions in the amount of free renders given each month, I did a huge batch of "generational" faces, starting with one made using Disco Diffusion's face model, then making multiple batches out of each variation from that, down to as many levels of recusion as I was able. It converged toward ghostly 3d cartoon characters, very pixar-looking.

  • @joan2296

    @joan2296

    Жыл бұрын

    let us see 👀

  • @joan2296

    @joan2296

    Жыл бұрын

    let us see 👀

  • @joan2296

    @joan2296

    Жыл бұрын

    let us see 👀

  • @sharptrickster
    @sharptrickster Жыл бұрын

    4:12 *Tool fans heart rate suddenly spikes*

  • @louis-philippesavard742
    @louis-philippesavard742 Жыл бұрын

    For those who tried variation and didn't work, it's because at 3:45 the path is to call mona in img folder but the mona.png is in the root. Just move the mona.png to root and it will work fine.

  • @junjieyang7800
    @junjieyang7800 Жыл бұрын

    "I am using a picture of myself writing some code" The self burn out of no where got me good LOL

  • @suryakamalnd9888
    @suryakamalnd9888 Жыл бұрын

    Amazing video bro

  • @Tumppi066
    @Tumppi066 Жыл бұрын

    A similar completely free API for stable diffusion already exists. It's called stable horde and it has a free API, although if you contribute computing power you will have priority over other people.

  • @abeechr

    @abeechr

    Жыл бұрын

    Thank you for this!

  • @hrushikeshmalshikare274
    @hrushikeshmalshikare274 Жыл бұрын

    Love your videos

  • @thekwoka4707
    @thekwoka4707 Жыл бұрын

    When saving the file from the fetch, you could have just piped the responses readable stream directly into a fs writestream.

  • @shep9194
    @shep9194 Жыл бұрын

    You have no idea how much time i stuck into /g/ (and a certain other board) cloning the openAi leaked repo, but that stuff is insane

  • @sergi3629
    @sergi3629 Жыл бұрын

    How is "createReadStrem" deifned on the second example? I just get that it is not defined. If it gets defined then it says that "await" cannot be used outside of an async function so not sure how you get that code to work...I'm using Node 18+

  • @bogxd
    @bogxd Жыл бұрын

    What software do you use to get that cursor effect in the screen recording? would be really helpful

  • @fredericoclemente324
    @fredericoclemente324 Жыл бұрын

    Vai ser uma mão na roda para a arte

  • @Eldstjarna
    @Eldstjarna Жыл бұрын

    love the video

  • @0Smile0
    @0Smile0 Жыл бұрын

    OPENai is now OPEN? wow, who would've thought

  • @NeoVirusOfficial
    @NeoVirusOfficial Жыл бұрын

    Is it okay to offer a SaaS like this using OpenAi Dalle-2 API ? There won't be any problem for commercial usage ?

  • @appaloosa_
    @appaloosa_ Жыл бұрын

    thanks for explaining the mask!

  • @djcaesar9114
    @djcaesar9114 Жыл бұрын

    "A picture of myself writing some code" xD

  • @muffinman12269
    @muffinman12269 Жыл бұрын

    Hugging face is what OpenAI wanted to be when it grew up

  • @AmorFatiYT
    @AmorFatiYT9 ай бұрын

    would it be possible to create a variation with a prompt?

  • @eldortovim3
    @eldortovim38 ай бұрын

    can you upload a image and then use a prompt for a different variations?

  • @EnricoRos
    @EnricoRos Жыл бұрын

    "a clown writing JavaScript code" 🤣 my hope is that one day Fireship will megachurch and I'll be a devoted follower. Best channel on YT

  • @jonathangamble
    @jonathangamble Жыл бұрын

    Would be cool to use it to restore images somehow.

  • @David15
    @David15 Жыл бұрын

    I don’t get how you can use await when it’s not inside of an async function

  • @BTCisHARD
    @BTCisHARD Жыл бұрын

    after seeing these comments please do a video on stable diffuaion or other more open ais

  • @markopolo2224
    @markopolo2224 Жыл бұрын

    hello fire ship can you make a video on how to achieve something like the pinned github repos the way you can drag them and organize them i tried to but its so so hard

  • @silmviburlane6411
    @silmviburlane6411 Жыл бұрын

    Cool, now I can make tinder pictures where I have friends 😆probably really weird ones though

  • @RemotHuman
    @RemotHuman Жыл бұрын

    Stable diffusion is open source so I'm sure someone made a saas of it right

  • @AbhishekReloaded
    @AbhishekReloaded Жыл бұрын

    Just discovered microsoft image creator for AI image generator.

  • @madebyjonny7637
    @madebyjonny7637 Жыл бұрын

    the username... well played 🤣

  • @merovingen4546
    @merovingen4546 Жыл бұрын

    How about little tutorial and comparing other types of image AI and look for a free one. Right now there are multiple solutions.

  • @ristekostadinov2820
    @ristekostadinov2820 Жыл бұрын

    If this was 2020 you could've created bunch of shitty images and sell them as NFT 🤣

  • @justinzvarghese
    @justinzvarghese Жыл бұрын

    "I'm using a picture of myself writing some code" Hahaha, I spit out my water. Thanks a lot.

  • @0xrpj
    @0xrpj Жыл бұрын

    I am waiting for midjourney api. It is so much better.

  • @mahdijafaree5332
    @mahdijafaree5332 Жыл бұрын

    off-topic question: why not fireship?

  • @ankitpandey7575
    @ankitpandey7575 Жыл бұрын

    is axios error = true can anyone help me deal with that

  • @vishaldinesh
    @vishaldinesh Жыл бұрын

    Hey I'm new to programming, can anyone please tell me how he is auto generating line of code is a single click?

  • @yurqua

    @yurqua

    Жыл бұрын

    He is reversing the video, where he starts from the full code and removes lines in groups.

  • @vishaldinesh

    @vishaldinesh

    Жыл бұрын

    @@yurqua oh never thought of it, thanks

  • @klutch4198
    @klutch4198 Жыл бұрын

    🤯🤯🤯

  • @DaddyFrosty
    @DaddyFrosty Жыл бұрын

    RIP Bob

  • @Hycord
    @Hycord Жыл бұрын

    Wooooooo

  • @davidkoffi985
    @davidkoffi985 Жыл бұрын

    Can you do a tutorial on blobs and array buffers

  • @andrewwoan
    @andrewwoan Жыл бұрын

    rip my art career

  • @amirlator
    @amirlator Жыл бұрын

    I'm stuck at that "give me money" part please help fire

  • @ChamplooMusashi
    @ChamplooMusashi Жыл бұрын

    hot off the press

  • @NotAFoe
    @NotAFoe Жыл бұрын

    Is it really unlimited tho? The API has infinite credit?

  • @beyondfireship

    @beyondfireship

    Жыл бұрын

    I meant unlimited in terms of creative possibilities. You still have to pay for it and it's rate limited.

  • @NotAFoe

    @NotAFoe

    Жыл бұрын

    @@beyondfireship Yeah thanks for reiterating man

  • @ChronicoOne
    @ChronicoOne Жыл бұрын

    I think might make a video about how use a library to make something like this yourself😮

  • @last.journey
    @last.journey Жыл бұрын

    How i get what i pays for It's literally flow of electricity

  • @papajohnsuk5965
    @papajohnsuk5965 Жыл бұрын

    open ai should change its name to closeai

  • @MrBrax
    @MrBrax Жыл бұрын

    "open"ai

  • @YuriG03042

    @YuriG03042

    Жыл бұрын

    partnered with Microsoft and now no longer a non-profit. they only just didn't change the name yet

  • @AtelierHemmer
    @AtelierHemmer Жыл бұрын

    const src = './src/image-1.jpg' const result = await openai.createImageVariation( createReadStream(`.img/${src}`), 1, "1024x1024" ); Keep getting an error createReadStreamis not defined, do i need to import that from somewhere?

  • @andimandishandi27

    @andimandishandi27

    3 ай бұрын

    did you find the answer?

  • @Dattobayo
    @Dattobayo Жыл бұрын

    This type of AI will be the death knell of illustrators.

  • @grandfleet
    @grandfleet Жыл бұрын

    Is it really unlimited?

  • @YuriG03042

    @YuriG03042

    Жыл бұрын

    unlimited what? paying? you can use infinite times and pay infinite times as the video mentions

  • @grandfleet

    @grandfleet

    Жыл бұрын

    @@YuriG03042 I was referring to dall-e credits, some apis would use those credits in lieu of paying, I'll keep using the ui version for now.

  • @mfpears
    @mfpears Жыл бұрын

    4:00 unlike humans, which are original

  • @BladeTrain3r
    @BladeTrain3r Жыл бұрын

    Nitpick of the day: Thumbnail is a dumbnail, all art is artificial. But then, Tool Assisted Art doesn't work either because almost all art is tool assisted. What about erm... algorithmic art? Yea that works I think.

  • @jeffreyjdesir

    @jeffreyjdesir

    Жыл бұрын

    I thinks that term is reserved for Art made with non-semantic, recursive image creation models (like procedural shapes and rotations). The image generator does use an algorithm, but with semantic understanding of the hyperparameter space supplied by a deep learning model, not a recursive "rule"

  • @BladeTrain3r

    @BladeTrain3r

    Жыл бұрын

    @@jeffreyjdesir Yea I suppose designing and rendering a good looking fractal would fit the term better. Eh, "artificial art" does the job in the end, even if it's a redundant term it still gets the point across.

  • @jeffreyjdesir

    @jeffreyjdesir

    Жыл бұрын

    @@BladeTrain3r amen to that - soon the artificial in "AI" will have the same redundancy...cause we will be but monkeys compared to GP(T-1000)

  • @latrousramzi7477
    @latrousramzi7477 Жыл бұрын

    Tool fans developers go crazy xD

  • @ethan-fel
    @ethan-fel Жыл бұрын

    OpenAI unlike its name was gatekeeping AI image generation(Elon Musk is involved, there's no surprise there). SD release was probably a big kick in the butt for them. Dall-E is pretty much irrelevant now.

  • @manonamission2000
    @manonamission2000 Жыл бұрын

    Careful with lawsuits... others' work was used to train these models

  • @faisalmehar10
    @faisalmehar109 ай бұрын

    It's not free 'Dall-e API' .

  • @yoinch
    @yoinch Жыл бұрын

    Elon owns everything

  • @omedjamal1056
    @omedjamal1056 Жыл бұрын

    1st

  • @niclasj273
    @niclasj273 Жыл бұрын

    Erster

  • @garlico8
    @garlico8 Жыл бұрын

    Kinda misleading calling it “OpenAI” while it has nothing to do with Open source.

  • @shannu.666
    @shannu.66610 ай бұрын

    mid jorney is far ahead

  • @loupax
    @loupax Жыл бұрын

    Art is by definition artificial and this makes everything much more weird.

  • @gogogogogogogogogogog9
    @gogogogogogogogogogog9 Жыл бұрын

    js suck i am considering switching paths because of that the web is just bloat

  • @Frozander

    @Frozander

    Жыл бұрын

    Oh boy that sounds familiar. Do you watch Luke Smith by chance.

  • @bobaGogo

    @bobaGogo

    Жыл бұрын

    JS is the most used language in the world and the language of web development. I'm a data scientist so i never use JS, but i can't really hate on JS when it's clearly an effective language.

  • @gogogogogogogogogogog9

    @gogogogogogogogogogog9

    Жыл бұрын

    @@Frozander 😂😂😂 yeah to be seriously 200mb for backend framework and another 100mb for frontend just to render a web page ?! the whole linux kernel is under that !

  • @gogogogogogogogogogog9

    @gogogogogogogogogogog9

    Жыл бұрын

    @@bobaGogo the problem not only withe language but also with the framework it makes it even more bloat

  • @uziboozy4540

    @uziboozy4540

    Жыл бұрын

    Switch to Rust

  • @DogeMultiverse
    @DogeMultiverse Жыл бұрын

    I see Elon musk I click

  • @minderleister9255
    @minderleister9255 Жыл бұрын

    #stopusingAI #stopArtthievery

  • @greendsnow
    @greendsnow Жыл бұрын

    you know nothing Jon Snow...

  • @danieldacruz452
    @danieldacruz452 Жыл бұрын

    I can't be the only that gets garbage images from these models 90% of the time

  • @sweJEverywhere
    @sweJEverywhere Жыл бұрын

    It's basically a tutorial about how to bankrupt artists. Nice

  • @topsskug9329
    @topsskug9329 Жыл бұрын

    all this sounds like chinese to me.... i need a noob guide from the start

  • @zarodgaming1844
    @zarodgaming1844 Жыл бұрын

    this is not a tutorial ... it's a glorified documentation dump ... it's fine, but sadly the people that actaully can write an AI could be counted on the palm of a hand, while everyone here even making money saying " yeah, i code AIs, i'm like so smart, 10k in 5 minutes, take that single mother working 2 jobs , flex "

  • @mado_z
    @mado_z Жыл бұрын

    I see Elon musk, I throw up

  • @socialkruption
    @socialkruption Жыл бұрын

    VIM is superior to everything, prove me wrong. Protip: you can't.

  • @-7n

    @-7n

    Жыл бұрын

    Why would I need to prove you wrong? The burden of proof is on you 😂

  • @socialkruption

    @socialkruption

    Жыл бұрын

    @@-7n Not an argument >:->

  • @-7n

    @-7n

    Жыл бұрын

    @@socialkruption no... it is...

  • @socialkruption

    @socialkruption

    Жыл бұрын

    @@-7n no ;-)

  • @miguelgargallo
    @miguelgargallo Жыл бұрын

    Dont pay, use huggingface, free forever and limits and local. Achineee 🎉