Make Crazy Art with the NEW OpenAI Dall-e API

Поділитися
Вставка
  • Опубліковано 3 лис 2022
  • 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 Рік тому +420

    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 Рік тому +19

      Couldn't have said it better

    • @anazi
      @anazi Рік тому +8

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

    • @katech6020
      @katech6020 Рік тому +14

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

    • @anazi
      @anazi Рік тому +1

      @@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 Рік тому +142

    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 Рік тому +42

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

    • @speedfastman
      @speedfastman Рік тому +9

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

    • @munyxxi
      @munyxxi Рік тому +52

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

    • @speedfastman
      @speedfastman Рік тому +5

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

    • @munyxxi
      @munyxxi Рік тому +39

      @@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 Рік тому +54

    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 Рік тому +1

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

    • @cicamaca725
      @cicamaca725 Рік тому +1

      There are google collabs with Stable Diffusion. Completely free.

  •  Рік тому +79

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

  • @ninopreuss2549
    @ninopreuss2549 Рік тому +24

    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 Рік тому +53

    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.

  • @sharptrickster
    @sharptrickster Рік тому +13

    4:12 *Tool fans heart rate suddenly spikes*

  • @louis-philippesavard742
    @louis-philippesavard742 Рік тому +2

    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.

  • @Tumppi066
    @Tumppi066 Рік тому +7

    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!

  • @suryakamalnd9888
    @suryakamalnd9888 Рік тому +1

    Amazing video bro

  • @hrushikeshmalshikare274
    @hrushikeshmalshikare274 Рік тому

    Love your videos

  • @junjieyang7800
    @junjieyang7800 Рік тому

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

  • @shep9194
    @shep9194 Рік тому +1

    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

  • @fredericoclemente324
    @fredericoclemente324 Рік тому

    Vai ser uma mão na roda para a arte

  • @appaloosa_
    @appaloosa_ Рік тому

    thanks for explaining the mask!

  • @thekwoka4707
    @thekwoka4707 Рік тому +1

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

  • @sergi3629
    @sergi3629 Рік тому +2

    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+

  • @Eldstjarna
    @Eldstjarna Рік тому

    love the video

  • @bogxd
    @bogxd Рік тому +3

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

  • @0Smile0
    @0Smile0 Рік тому +1

    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 ?

  • @eldortovim3
    @eldortovim3 8 місяців тому

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

  • @EnricoRos
    @EnricoRos Рік тому +1

    "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

  • @AmorFatiYT
    @AmorFatiYT 9 місяців тому

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

  • @djcaesar9114
    @djcaesar9114 Рік тому

    "A picture of myself writing some code" xD

  • @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

  • @RemotHuman
    @RemotHuman Рік тому +4

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

  • @BTCisHARD
    @BTCisHARD Рік тому +1

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

  • @David15
    @David15 Рік тому

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

  • @muffinman12269
    @muffinman12269 Рік тому

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

  • @silmviburlane6411
    @silmviburlane6411 Рік тому

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

  • @jonathangamble
    @jonathangamble Рік тому +1

    Would be cool to use it to restore images somehow.

  • @merovingen4546
    @merovingen4546 Рік тому +3

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

  • @madebyjonny7637
    @madebyjonny7637 Рік тому

    the username... well played 🤣

  • @ristekostadinov2820
    @ristekostadinov2820 Рік тому +10

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

  • @mahdijafaree5332
    @mahdijafaree5332 Рік тому

    off-topic question: why not fireship?

  • @AbhishekReloaded
    @AbhishekReloaded Рік тому

    Just discovered microsoft image creator for AI image generator.

  • @justinzvarghese
    @justinzvarghese Рік тому +1

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

  • @ankitpandey7575
    @ankitpandey7575 Рік тому

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

  • @davidkoffi985
    @davidkoffi985 Рік тому +2

    Can you do a tutorial on blobs and array buffers

  • @0xrpj
    @0xrpj Рік тому +2

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

  • @DaddyFrosty
    @DaddyFrosty Рік тому +1

    RIP Bob

  • @NotAFoe
    @NotAFoe Рік тому +3

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

    • @beyondfireship
      @beyondfireship  Рік тому +6

      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

  • @andrewwoan
    @andrewwoan Рік тому +2

    rip my art career

  • @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 Рік тому +1

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

    • @vishaldinesh
      @vishaldinesh Рік тому +1

      @@yurqua oh never thought of it, thanks

  • @ChamplooMusashi
    @ChamplooMusashi Рік тому

    hot off the press

  • @amirlator
    @amirlator Рік тому

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

  • @MrBrax
    @MrBrax Рік тому +5

    "open"ai

    • @YuriG03042
      @YuriG03042 Рік тому +1

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

  • @last.journey
    @last.journey Рік тому +1

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

  • @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.

  • @ChronicoOne
    @ChronicoOne Рік тому

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

  • @papajohnsuk5965
    @papajohnsuk5965 Рік тому +2

    open ai should change its name to closeai

  • @klutch4198
    @klutch4198 Рік тому

    🤯🤯🤯

  • @latrousramzi7477
    @latrousramzi7477 Рік тому +1

    Tool fans developers go crazy xD

  • @BladeTrain3r
    @BladeTrain3r Рік тому +1

    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 Рік тому +1

      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 Рік тому +1

      @@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)

  • @mfpears
    @mfpears Рік тому

    4:00 unlike humans, which are original

  • @Dattobayo
    @Dattobayo Рік тому +6

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

  • @yoinch
    @yoinch Рік тому

    Elon owns everything

  • @faisalmehar10
    @faisalmehar10 9 місяців тому

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

  • @Hycord
    @Hycord Рік тому

    Wooooooo

  • @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

  • @AtelierHemmer
    @AtelierHemmer Рік тому +2

    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?

  • @omedjamal1056
    @omedjamal1056 Рік тому

    1st

  • @niclasj273
    @niclasj273 Рік тому

    Erster

  • @shannu.666
    @shannu.666 10 місяців тому

    mid
    jorney is far ahead

  • @garlico8
    @garlico8 Рік тому

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

  • @minderleister9255
    @minderleister9255 Рік тому +1

    #stopusingAI #stopArtthievery

  • @loupax
    @loupax Рік тому

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

  • @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

  • @gogogogogogogogogogog9
    @gogogogogogogogogogog9 Рік тому +1

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

    • @Frozander
      @Frozander Рік тому +1

      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 Рік тому +1

    I see Elon musk I click

  • @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 Рік тому +3

      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 🎉