This may not be a direct answer to your needs, but it happens to furnish a great deal of insight for those transitioning to working with Inpaint from the CLI:
Will try to give you a more directed answer later in the (North American East Coast) morning.