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 Firefly
  • Midjourney
  • Stable Diffusion

You 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/id1540518298
  • Overcast: https://overcast.fm/itunes1540518298/id-rather-be-scripting
  • Anywhere: https://www.idratherbescripting.com

Kerri

  • Mastadon: https://mastodon.cloud/@kerrishotts
  • Instagram: https://www.instagram.com/kerrishotts
  • GitHub: https://github.com/kerrishotts
  • LinkedIn: https://www.linkedin.com/in/kerrishotts
  • YouTube: https://www.youtube.com/c/KerriShotts

Ash

  • Mastadon: https://indieweb.social/@ashryan
  • Instagram: https://www.instagram.com/ashryan.io
  • GitHub: https://github.com/ashryanbeats
  • LinkedIn: https://www.linkedin.com/in/ashryan