アプリをダウンロード
75.83% Lucky Spin: Godly Programming / Chapter 113: Chapter 113: Adding new functions

章 113: Chapter 113: Adding new functions

Left alone in the room, Jeff decided it was the perfect time to improve his current technology.

His focus was on RAZi. He planned to enhance it by adding image generation, voice synthesis, and video creation.

The graphical interface was already amazing and looked high-tech, making it smooth, and clean.

With everything ready, he began his work. He began by opening RAZi's plugin folder, creating a new file named razi_plugins/imagegen.py.

Within the file, he defined a function called generate_image(prompt).

This function processed a text prompt and used the Stable Diffusion engine to generate an image, returning the path to the created file.

To connect it with the user interface, he updated interface.py by introducing a new route, allowing users to input a prompt directly and receive a visual output from the system.


これでパート1の終わりです。Webnovelアプリで続けて読む:

QRコードをスキャンしてWebnovelをダウンロードする

next chapter
Load failed, please RETRY

ギフト

ギフト -- 贈り物 が届きました

    週次パワーステータス

    Rank -- 推薦 ランキング
    Stone -- 推薦 チケット

    バッチアンロック

    目次

    表示オプション

    バックグラウンド

    フォント

    大きさ

    章のコメント

    レビューを書く 読み取りステータス: C113
    投稿に失敗します。もう一度やり直してください
    • テキストの品質
    • アップデートの安定性
    • ストーリー展開
    • キャラクターデザイン
    • 世界の背景

    合計スコア 0.0

    レビューが正常に投稿されました! レビューをもっと読む
    パワーストーンで投票する
    Rank NO.-- パワーランキング
    Stone -- 推薦チケット
    不適切なコンテンツを報告する
    error ヒント

    不正使用を報告

    段落のコメント

    ログイン