ranking tactics logo

ZimmWriter Image API Integration

by Matt Zimmerman

Updated August 26, 2024

ZimmWriter now integrates with third party APIs to download images and also upload them to your WordPress site if that is linked.

The menu to connect with these third-party image API’s is in your ZimmWriter options menu, followed by clicking the “Setup Image API” button.

Pexels API (Stock Images)

The Pexels API is free and allows you make 200 API requests an hour and 25,000 API calls a month. When enabled, ZimmWriter makes 1 request per blog post.

You can sign up for a Pexels account and get an API key at this signup link.

In addition, the “Save & Verify Pexels API Key” button in ZimmWriter will display your account information with remaining balance and time before your credits refresh.

Dall-E API (OA)

You won’t see this option in the image API menu because Dall-E is an OpenAI model and therefore uses your OpenAI key. So if you don’t want to get Pexels or Stability (below) then you can just use Dall-E for images and your OpenAI account will be deducted accordingly. However, Dall-E is more expensive than some of the Stability models (discussed below).

Stability (S)

Stability is a company that has their own AI image models which are pretty good. Just like OpenAI’s API, the Stability API is also pay as you go. So when you sign up for their API, you’ll need to put some credit in your account to generate images.

At the time of this writing, the pricing is as follows:

  • The Stable Diffusion XL model (ZimmWriter calls it “SD”) is about $0.003 per image
  • The Stable Diffusion Core model (ZimmWriter calls it “SDC”) is about $0.03 per image
  • The Stable Diffusion 3 model (ZimmWriter calls it “SD3”) is about $0.065 per image
  • The Stable Diffusion Ultra model (ZimmWriter calls it “SDU”) is about $0.08 per image

ZimmWriter lets you choose between any of these models as it writes your articles.

If you want to get your own API key, then head to https://platform.stability.ai and create an account.

Add some money to your account here https://platform.stability.ai/account/credits (I suggest $10 to get your started).

Get your API key here: https://platform.stability.ai/account/keys

Type your Stability API key in the appropriate box in the ZimmWriter menu depicted above. You can also add some negative keywords, such as “hands, fingers” to help avoid the AI creating those. However, much of the result is dictated by the AI image prompt which you can learn more about to dial in your results for your specific niche.

Now, press the “Save & Verify Stability API Key” to make sure it’s working. ZimmWriter will generate a “stability_image_test.jpg” in your ouput folder if it is a success.

Finally, you can always test the API status by clicking that Live Status link. Sometimes their API goes down so it’s good to know what’s happening.

Fal (F) & Replicate (R)

The two newer image API platforms are Fal (get an API key here) and Replicate (get an API key here) which offer the Flux AI image models.

Fal, Replicate, Flux, huh?

Let me break it down for you. Flux is an AI image model that is almost as powerful as Midjourney. The model comes in four versions at the moment:

  • Flux Pro (~$0.05 per image)
  • Flux Realistic (available exclusively on Fal) (~$0.035 per image)
  • Flux Dev (~$0.025 per image)
  • Flux Schnell (~$0.003 per image)

The main benefits of Flux (over Stability and Dall-E) are threefold:

  • The Flux models render hands VERY well. Not always perfect, but a heck of a lot better than the rest.
  • The Flux Realistic, Dev, and Schnell models are 100% uncensored. No more blurred images at totally innocent prompts like we’d get with Stability at times.
  • The Flux Schnell model, even though it’s the cheapest, is miles ahead of Stability’s XL model which is the same price.

What’s the difference between the providers Fal and Replicate if they both offer the Flux models?

  • Fal allows you to buy credits which solves a problem for some people in countries (e.g., India) which don’t allow tying a credit card to an account.
  • Both Fal and Replicate have a few different options for each model that you can play with and that might help your use case.
  • Fal is slightly cheaper per image than Replicate.

Ideogram (I)

Ideogram is another API platform you can check out. You can get an API key here.

It has four models at the moment:

  • Ideogram 2
  • Ideogram 2 Turbo
  • Ideogram 1
  • Ideogram 1 Turbo

It excels at making crisp text. You can even specify the style of font you want it to use. However, I have found that it doesn’t do as well as Flux when dealing with different blurbs of text in different areas of your image. I have also found that sometimes hands look like claw hands when zoomed in. So there are definite pros and cons.

Also, be aware that when you get an Ideogram API key, they will charge you $40 up front for credits. You can use the $40 in credits, but they will bill your account immediately for that amount.

Frequently Asked Questions

When is an API Image Used?

Bulk and SEO Writer – If you check the “Enable Image API” box then ZimmWriter will contact the Pexels API and try to find the best image.

Penny Arcade – In general, it works just like the Bulk and SEO Writer. However, if a Scraping Surgeon domain is detected then any image downloaded by Scraping Surgeon takes precedence and will be used as the featured image. In that situation, ZimmWriter will not contact Pexels API.

Bulk Image Generator – You can generate millions of images using this feature inside of ZimmWriter’s AI Valut.

Why Are Some Images Irrelevant?

Sometimes the images ZimmWriter finds might be irrelevant (or even offensive). ZimmWriter simply performs a keyword search based on your article and retrieves whatever the API service provides. As always, it is imperative to check the results before publishing. In addition, obeying and following any and all copyright laws is your responsibly.

ranking tactics logo

The information provided on this website is provided for entertainment purposes only. I make no representations or warranties of any kind, expressed or implied, about the completeness, accuracy, adequacy, legality, usefulness, reliability, suitability, or availability of the information, or about anything else. Any reliance you place on the information is therefore strictly at your own risk. Read more in my terms of use and privacy policy. You can also contact me with questions.

Owned and Operated by Revindir LLC
Copyright 2024