Identify moon phases using AI

Below is a free classifier to identify moon phases. Just upload your image, and our AI will predict which phase of the moon it is - in just seconds.

moon phases identifier

For best results, limit the image to just the moon.

API Access


import nyckel

credentials = nyckel.Credentials("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET")
nyckel.invoke("moon-phases-identifier", "your_image_url", credentials)
            

fetch('https://www.nyckel.com/v1/functions/moon-phases-identifier/invoke', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer ' + 'YOUR_BEARER_TOKEN',
        'Content-Type': 'application/json',
    },
    body: JSON.stringify(
        {"data": "your_image_url"}
    )
})
.then(response => response.json())
.then(data => console.log(data));
            

curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_BEARER_TOKEN" \
    -d '{"data": "your_image_url"}' \
    https://www.nyckel.com/v1/functions/moon-phases-identifier/invoke
            

How this classifier works

To start, upload your image. Our AI tool will then predict which phase of the moon it is.

This pretrained image model uses a Nyckel-created dataset and has 8 labels, including New Moon, Waxing Gibous, and 6 more.

We'll also show a confidence score (the higher the number, the more confident the AI model is around which phase of the moon it is).

Whether you're just curious or building moon phases detection into your application, we hope our classifier proves helpful.

Recommended Classifiers

Need to identify moon phases at scale?

Get API or Zapier access to this classifier for free. It's perfect for:



  • Astronomy Software: Identify moon phases for educational apps or platforms, allowing users to learn about lunar cycles.

  • Navigation Systems: Integrate lunar data to improve maritime navigation systems, considering tidal effects influenced by the moon.

  • Photography: Schedule photo shoots based on moon phases, helping photographers plan for desired natural lighting conditions.

  • Wildlife Research: Track animal behavior changes during different moon phases, supporting studies on nocturnal wildlife activities.

  • Garden Apps: Advise on the best planting times, correlating with moon phases for optimal growth of certain plants.

  • Fishing Guides: Predict fish activity and help anglers plan trips, using moon phases to determine the best fishing times.

  • Event Planning: Plan outdoor events based on moonlight availability, ensuring sufficient natural lighting for nighttime gatherings.

Want this classifier for your business?

In just minutes you can automate a manual process or validate your proof-of-concept.

Get Access