Storybook app powered by Gemini AI & Dall-E on iOS | SwiftUI Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 9

  •  7 месяцев назад +1

    very good bro but Dall-E very expensive , do you have any suggestions, an api where we can create a more appropriate picture?

    • @swiftodyssey
      @swiftodyssey  7 месяцев назад

      Hello! All the good ones are paid & lack a free trial.

  • @Decatilinae
    @Decatilinae 8 месяцев назад

    wow is very interesting... thanks for sharing

    • @swiftodyssey
      @swiftodyssey  8 месяцев назад

      Thank you! Do consider subscribing to the channel !

  • @tunaitech
    @tunaitech 7 месяцев назад

    I!m getting error creating story ,please try again later why ?

    • @swiftodyssey
      @swiftodyssey  7 месяцев назад

      Hi! There are a couple of reasons for this. #1. If there was an issue getting a story from Gemini API which could be due to incorrect api key, api response limits or incorrect json data OR #2. If there was an error retrieving images for the story received in step #1. This can happen if you dont have the a proper Open AI secret key, there is a rate limit or you don't have enough credits for Dall E to generate images. I'd advise setting a breakpoint in the code and checking the execution step by step.

    • @tunaitech
      @tunaitech 7 месяцев назад

      @@swiftodyssey Hello, -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = , customInfoType = UIEmojiSearchOperations im getting this error i search this error nothin help can you help please!

    • @swiftodyssey
      @swiftodyssey  7 месяцев назад

      That is unrelated to the issue. Set a breakpoint at line #49 here github.com/anupdsouza/ios-gemini-storybook/blob/main/Storybook/Storybook/Library.swift and check the response you receive from Gemini. If all is well, you should see the story printed via the print statement at line #63. Next, see if you get an error printing at line #73 & #88. That will execute if there was an issue creating images.

    • @tunaitech
      @tunaitech 7 месяцев назад

      @@swiftodyssey thank you it’s showing green thread 1 breakpoint 49,73 what does it mean