Actions16
Capture Image
AI-generatedSummary
Capture an image using the connected NINA-supported camera with customizable exposure settings, image type, and optional post-processing steps.
Inputs
- Duration (Seconds) — Sets the exposure duration in seconds (default is 1 second).
- Gain — Sets the gain level for the image capture (default is 0).
- Image Type — Specifies the type of image to capture: Light, Dark, Bias, Flat, or Snapshot (default is Light).
- Plate Solve — Indicates whether to perform plate solving after the capture (default is false).
- Save Image — Determines whether to save the captured image to disk (default is false).
- Wait for Result — Specifies whether to wait for the capture to complete before returning (default is true).
- Get Result — Retrieves the result of a previously started background capture if set true; leave false to start a new capture (default is false).
- Resize — Enables resizing of the output image if true (default is false).
- JPEG Quality — Sets the quality for JPEG images on a scale from 1 to 100 (default is 90).
- Target Name — Defines a custom target name for the saved file (optional).
- Omit Image Data — If true, omits image data in the API response (default is false).
- Skip Auto Stretch — Skips automatic image stretching if true (default is false).
- Only Save Raw — Saves only the raw FITS file if true, ignoring other formats (default is false).
Output shape
a JSON object or array containing the capture result and metadata from the NINA API
The output includes metadata and possibly image data or file references depending on the parameters; use the 'Omit Image Data' parameter to exclude image data from the response. If 'Wait for Result' is true, the node waits until the capture completes before returning data. Setting 'Get Result' to true fetches the result of a previously started capture rather than initiating a new one.
Examples
Example 1: Capture a 5-second light image with plate solving and save it to disk
Set Duration to 5, Image Type to Light, Plate Solve to true, Save Image to true, Wait for Result to true, and other parameters at default values.