All demosSatellite Land Cover

Satellite Land Cover

Forest, farmland, or freeway? Read satellite images.

Examples are free. Bring a key for your own inputs. Get a free key

Performance & cost

This session

Ready to run
Delivery time · median
Live model compute
Live input tokens
0
Est. cost · USD
$0.00

Free examples. Switch on to measure live inference with your key and quota.

Measurement details · 0 successful requests
Successful requests
0

Run an example for free to see its measurements.

Model compute is the average per measured request. Delivery time is the median browser time for successful requests, including queue, network, and retries. Cached delivery speed is not inference speed. Model compute can exceed browser time when one request processes many inputs.

Tokens come from response headers. Inference costs use $0.04 per million input tokens, before plan credits. The estimate includes live and recorded tokens at the same rate; cached examples are not charged again. Missing usage is unavailable or a partial total (≥). Demo resets keep these totals; reload to start a new session.

Try it

Classify the satellite tiles and compare their labels.

Build with the SDKTypeScript · Python · dm1

One request from this demo. Copy it into your app.

Uses your MS_API_KEY and quota. Keep the key on your server.

Install · set your key
npm install @cloudraker/milliseconds
export MS_API_KEY="your-api-key"
example.ts
import { readFile } from "node:fs/promises";
import { DecisionMachine } from "@cloudraker/milliseconds";

// Run on your server; reads MS_API_KEY from the environment.
// The image carries the input; the leading text is optional context.
const dm = new DecisionMachine();

const { result, usage } = await dm.classify(
  await readFile("image.jpg"),
  {
    "Annual crop": "Satellite view of cultivated annual-crop fields: geometric agricultural parcels, often bare brown or muted green, with field boundaries.",
    "Forest": "Satellite view dominated by dense continuous tree canopy, with mottled dark green texture and few large open fields or buildings.",
    "Herbaceous vegetation": "Satellite view of natural low-growing grasses and shrubs, with irregular vegetation texture rather than uniform planted rows or dense forest.",
    "Highway": "Satellite view containing a prominent wide road or highway corridor, often with parallel lanes, interchanges or long straight pavement.",
    "Industrial": "Satellite view of large industrial roofs, warehouses, paved yards and broad roads, with larger buildings than a residential neighborhood.",
    "Pasture": "Satellite view of grassy grazing land: green open fields separated by hedges or boundaries, without dense tree cover or strong crop-row texture.",
    "Permanent crop": "Satellite view of orchards, vineyards or other long-lived crops: repeated planted rows or regular patterns within agricultural parcels.",
    "Residential": "Satellite view of a neighborhood with many small building roofs and streets, often interspersed with trees and gardens.",
    "River": "Satellite view of a long narrow or winding water channel with visible land along its banks.",
    "Sea or lake": "Satellite view dominated by a broad expanse of open water, generally smooth dark blue or blue-green, with few visible land features."
  },
  { detail: "low" }
).withUsage();

console.log(result);
console.log({ inputTokens: usage.inputTokens, modelMs: usage.inferenceMs });

Under the hood How it works & limitations

API calls/classify

Image dataset license
MIT License

Copyright (c) 2023 Patrick Helber

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.