🤖 AI-based image and code generation tools

01/05/2023 1h 29min Temporada 2 Episodio 5
🤖 AI-based image and code generation tools

Listen "🤖 AI-based image and code generation tools"

Episode Synopsis

Kerri and Ash play with AI!Image generationFirst up, our co-hosts look at text-to-font and text-to-image capabilities of these tools:Adobe FireflyMidjourneyStable DiffusionYou can see all of the images we mention in this Mastodon thread.Code generationNext up, code-generation tools like GitHub Copilot, GitHub Copilot for Docs, and ChatGPT get a look.Here's the Adobe UXP plugin code that was generated (notice the sweet, sweet use of Papyrus):```const { executeAsModal } = require("photoshop").core;const { LayerKind } = require("photoshop").constants;async function main() {  try {    await executeAsModal(async () => {      const activeDocument = require("photoshop").app.activeDocument;      const textLayers = activeDocument.layers.filter(layer => layer.kind === LayerKind.TEXT);      await Promise.all(textLayers.map(async layer => {        layer.textItem.characterStyle.font = "Papyrus";        await layer.textItem.convertToParagraphText();      }));    });  } catch (err) {    console.log(err);  }}```Links!Subscribe to I’d Rather Be Scripting on:Apple Podcasts: https://podcasts.apple.com/us/podcast/id-rather-be-scripting/id1540518298Overcast: https://overcast.fm/itunes1540518298/id-rather-be-scriptingAnywhere: https://www.idratherbescripting.comKerri Mastadon: https://mastodon.cloud/@kerrishottsInstagram: https://www.instagram.com/kerrishottsGitHub: https://github.com/kerrishottsLinkedIn: https://www.linkedin.com/in/kerrishottsYouTube: https://www.youtube.com/c/KerriShottsAshMastadon: https://indieweb.social/@ashryanInstagram: https://www.instagram.com/ashryan.ioGitHub: https://github.com/ashryanbeatsLinkedIn: https://www.linkedin.com/in/ashryan