MZ Script Call to TextPicture Plugin?

I've hit a snag trying to send a command to the TextPicture Plugin via a Script Call in a Common Event. While I've consulted the Google Doc to figure out that the script equivalent to a Plugin Command is

JavaScript:
PluginManager.callCommand(
  interpreter,
  pluginName,
  command,
  args
);

I can't seem to translate it into a functional script. When I try to turn the event data,

Plugin Command:TextPicture, Set Text Picture
Text = \v[12]

Into a script, like so

JavaScript:
PluginManager.callCommand(
  this,
  'TextPicture',
  'Set Text Picture',
  {'\v[12]'}
);

The end result is that the command doesn't seem to work out correctly and, when I use an empty Show Picture command after, nothing comes up. I've swapped the script out for the standard plugin command quoted above and had it work, so I'm confident that it's my script that has to be wrong, but at my current skill level I have no idea how to troubleshoot or debug it.

Can anyone see what I'm doing wrong? My current theory is it's the interpreter or the args, but again I'm too much of a fledging coder to know what the correct answer is if either of these are wrong.
Normally I just open the plugin file and trace what function the plugin command is running through, then call that function.
I'm not familiar with how to call a function via a script yet and Search Fu didn't seem to yield a functional result, so I took a bruteforce approach by copying the function in wholesale with my text subbed in, like so.

JavaScript:
const pluginName = "TextPicture";
let textPictureText = "\\v[12]";
const _Game_Picture_show = Game_Picture.prototype.show;
Game_Picture.prototype.show = function() {
    _Game_Picture_show.apply(this, arguments);
    if (this._name === "" && textPictureText) {
        this.mzkp_text = textPictureText;
        this.mzkp_textChanged = true;
        textPictureText = "";
    }
};

I feel like I'm doing something wrong here, though... is there a different, more "proper" way I should have gone about it?
That is just defining an alias of one of the engine's functions. You do not need to define it again. I would look myself but I think this is MZ dlc(?). I don't have MZ so I can't check for you

See if you can find what function the plugin command "Set Text Picture" is sending its arguments to
You need to use the internal command name set, not the display name. As you suspected, you also have the wrong syntax for the arguments. Try this?
JavaScript:
PluginManager.callCommand(
  this,
  'TextPicture',
  'set',
  { text: '\\v[12]' }
);
There is one arg, with display name Text and internal name text. I've used \\ because JS uses backslash for escape notation: \\ represents a single backslash.

TextPicture.js is encapsulated within its own IIFE, concealing its code from the outside, and its plugin command is an inline arrow function. As such, invoking the plugin command through the engine like this is the only feasible approach.
That did it. Thanks for clearing up where I went wrong with the arguments. Funny part is I kept swapping out 'set', 'text:' and even escaping the backslash in my efforts prior to posting, but I guess I didn't happen on the right combination of them and it left me in a pretty heavy doubt I had any idea what I was doing. Given I was just stabbing at the dark in the long run, I probably didn't.

I guess I've still got a lot to learn about coding if even after like a week of cramming every tutorial I could find functions and calls are still absolute Greek to me. Thanks for showing me where I went wrong this time, at least. Hopefully the lesson sticks.
No worries, good to hear it's working now! Happy RPG Making~ 👋

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-textpicture-plugin.167670/