Mini program integration guide

Connect MeowID to Zhongdamaopu

Connect approved campus-cat photos to MeowID so people can identify similar cats and open their existing profiles. Zhongdamaopu keeps the cat database; MeowID handles image registration and identity search.

7 real interface screenshotsLast checked
  1. 01Create a project and key
  2. 02Configure the service
  3. 03Sync photos and verify recognition

01 · Before you start

This guide starts with a Zhongdamaopu campus-cat application that already has the recognition-service settings page. It covers MeowID setup and mini program operations.

Prepare:

  • A MeowID console account with permission to create a project and API key.
  • A Level-99 administrator account in the mini program, for service configuration and data sync.
  • Existing cat profiles and approved photos to register and use for verification.

People will be able to search for similar cats and open existing profiles from the same mini program. Begin with a small set of cats and clear, single-cat photos before processing a larger photo library.

02 · Create a MeowID project

  1. Sign in to the MeowID console and create a project for your campus-cat application.
  2. Copy the project ID from its details. You will enter it in the mini program.
  3. Check the available balance and current billing rules; top up as needed. Image registration and recognition may consume paid usage.

Keep using the same project for this cat application. Sync creates a corresponding MeowID cat for each local profile; do not manually create every cat first.

Create a project in MeowID. Use a name that identifies your campus-cat application.
Create a project in MeowID. Use a name that identifies your campus-cat application.Open full-size image ↗

03 · Create a key for sync and recognition

Open API Keys, select the same project, and create an integration key. Choose full access, or a custom key with all four scopes below.

ScopePurpose
recognition:writeRun identity searches
cats:readCheck connectivity and read cats and images
cats:writeCreate cat profiles and register approved images
tasks:readRefresh registration tasks and results

A recognition-only key cannot run the complete sync workflow. Save the full key when it is displayed. Enter it in the mini program service configuration below. Never share it publicly or include it in screenshots.

Create the API key under the correct project. This integration needs all four listed scopes.
Create the API key under the correct project. This integration needs all four listed scopes.Open full-size image ↗

04 · Enable and configure MeowID

  1. Sign in as a Level-99 administrator. Open 关于 → 小程序配置 → 识猫服务 (About → Mini program settings → Recognition service). Lower-level administrators will not see this entry.
  2. Select MeowID as the recognition mode and save it.
  3. Enter the project ID, API key, and API base URL under service configuration. The default is https://platform.meowid.net; the documentation URL https://meowid.net/developers is not an API endpoint.
  4. Keep the candidate count at 5 initially. Save the configuration, then check the connection.

The project ID and API key must belong to the same MeowID project. Saved keys are not displayed again; leave a field blank to keep its current value. A blank key field does not mean the saved key is missing.

The screenshots show a real campus-cat application in Chinese; names and counts will differ in your project. Candidate count controls how many similar cats a search returns. It is separate from the per-cat photo cap in the next step.

The Level-99 recognition-service entry in About → Mini program settings. The mini program UI is in Chinese.
The Level-99 recognition-service entry in About → Mini program settings. The mini program UI is in Chinese.Open full-size image ↗
Save MeowID mode, then configure the project and key. Saved secrets are not displayed.
Save MeowID mode, then configure the project and key. Saved secrets are not displayed.Open full-size image ↗

05 · Sync existing profiles and approved photos

Choose a sync mode in the data-sync panel. Both modes sync cat profiles, skip existing submission receipts, and use approved photos without requiring a featured-photo flag.

ButtonBehavior
按上限同步 · Sync to capSave the per-cat image cap first. The default and minimum are 5. A cat with three prior submissions receives only two more when its cap is five.
全量 / 增量同步 · Full / incremental syncSync all approved data without a per-cat cap, including images previously deferred by the cap. Existing receipts are still skipped.
刷新状态 · Refresh statusRetrieve the latest sync status and reconcile MeowID tasks. It does not start a new image-upload batch.

Start with capped sync if you want to limit historical registration usage. A cat with only three approved photos uploads three; no image is repeated to reach five. A cat with no approved photos can still have its profile synced. Lowering the cap does not delete existing remote images.

Keep the page open while batches continue. Leaving stops new batch requests; an already submitted batch may still run. Click the same sync mode to resume. Keep prior sync records and never force reuploads based only on a difference between platform and local totals.

The live sync panel: save the per-cat cap, choose capped or full / incremental sync, and review synced and remaining counts.
The live sync panel: save the per-cat cap, choose capped or full / incremental sync, and review synced and remaining counts.Open full-size image ↗

06 · Check counts and registration tasks

Synced and remaining cats count local profiles with a remote binding. Uploaded and remaining images count approved photos with platform acceptance records. Each accepted/synced count plus its remaining count equals its total.

Uploaded does not mean registration has completed. The platform still needs to crop images and extract features. Open the project task queue to check:

  • queued / running: accepted and waiting or processing.
  • completed: the registration task finished; use available registered images to verify recognition.
  • waiting_user: confirm the target cat in the MeowID console.
  • failed: inspect the error. A failed task with a receipt is not blindly uploaded again.

Remaining images can include capped, failed, and uncertain submissions; not all of them are safe to retry. Local cat bindings can also differ from platform totals that include manually created or older records.

Review registration results in the project task queue. Acceptance and completion are separate stages.
Review registration results in the project task queue. Acceptance and completion are separate stages.Open full-size image ↗

07 · Verify recognition in the mini program

  1. Choose a locally linked cat with available registered images and prepare a clear, single-cat photo, ideally a different photo for verification.
  2. On the mini program cat directory, tap 识别 (Recognize) next to the search field. Take a photo or choose one from the album.
  3. Inspect the similar-cat candidates and open a local profile. Confirm that the name, photos, and profile link are correct.

The mini program displays the local profiles linked to MeowID candidates. Compare names, photos, and distinctive features when reviewing a match.

Similarity ranks candidates; it is not an identity accuracy percentage. No cat detected, identity unknown, and a failed service request are different outcomes. Changing the selected cat in a multi-cat photo issues another recognition request and may incur usage. Begin with a single-cat photo.

The Recognize entry next to the mini program search field. The next page supports the camera and photo album.
The Recognize entry next to the mini program search field. The next page supports the camera and photo album.Open full-size image ↗

08 · New approvals and ongoing maintenance

With MeowID enabled, approving a new photo directly attempts registration. The manual batch cap does not limit new approval uploads. Reviews can still be saved when another sync batch is active or an upload is incomplete; resume sync later for unsent photos.

  • Keep existing sync records and use the appropriate sync button to continue. Do not recreate cat profiles to restart a sync.
  • Check uncertain uploads in the MeowID task queue before taking action. Do not immediately submit the image again.
  • Avoid adding the same photo as multiple separate records; separate records may still be submitted independently.
  • Check project ownership before changing a project or key. Keep using the same MeowID project for the same cat application.

09 · Troubleshooting

SymptomWhat to check
Recognition service is missingUse a Level-99 account and look under About → Mini program settings.
Capped sync will not startSave an integer cap of at least five first. Retry failed status reads later and keep existing sync records.
401 / 403Check key validity, matching project, all four scopes, and any IP allowlist settings.
Connection works but registration is incompleteA successful connection is not completed registration. Check permissions, images, task errors, and processing progress in the console.
Cat counts differLocal bindings and all platform cats have different counting rules. Counts alone cannot identify duplicate or missing records.
Images remain unsyncedCheck caps, retry backoff, failed images, and tasks needing manual confirmation. Choose full / incremental sync to process all eligible approved photos.
Status refresh or recognition times outCheck connectivity and retry later, or inspect the platform task queue. Keep existing records and contact your maintainer if errors persist.
An upload is uncertainReconcile it with the MeowID task results first. Uncertain uploads are not automatically repeated.

Continue with the API reference or MeowID console walkthrough. When reporting an issue, include the visible message, task ID, and time, but never publish API keys.

Sync photos and verify recognition

Open the MeowID console