{"id":"01KFFC5JJBJE5A4MK4KB0PE9AM","cid":"bafkreibb2ckaljzk5ofrl7mhe4d5yz4kgoiwd5vw25vh4ncrnrb4c6abq4","type":"agent","properties":{"_profile_version":"v1","actions_required":["file:view","file:create","file:update","entity:view","entity:update"],"description":"Converts various image formats (PNG, WebP, TIFF, AVIF, GIF) to JPEG with batch support","endpoint":"https://image-to-jpeg.arke.institute","endpoint_verified_at":"2026-01-21T04:14:30.931Z","input_schema":{"properties":{"entity_id":{"description":"Source image file entity to convert (supports PNG, WebP, TIFF, AVIF, GIF)","type":"string"},"entity_ids":{"description":"Array of image file entity IDs to convert (supports PNG, WebP, TIFF, AVIF, GIF)","items":{"type":"string"},"type":"array"},"options":{"description":"Conversion options","properties":{"batch_size":{"description":"Entities per Lambda call (default: 10)","type":"number"},"lambda_concurrency":{"description":"Max parallel Lambda calls (default: 10)","type":"number"},"quality":{"description":"JPEG quality 1-100 (default: 85)","type":"number"}},"type":"object"}},"required":["entity_ids"],"type":"object"},"label":"Image to JPEG Converter","output_description":"For each input image entity, the service creates a new JPEG file entity and uploads the converted image content to it. The new JPEG entity is placed in the same collection as the source image (inheriting the source's collection relationship, or using an explicitly provided collection ID). The JPEG filename is derived from the source filename with the extension replaced by .jpg (e.g. 'photo.png' becomes 'photo.jpg'). The source entity is not modified or deleted — it remains as-is. If the source image is already in JPEG format, no conversion is performed and no new entity is created; the original entity ID is returned unchanged. For GIF images, only the first frame is extracted and converted. JPEG quality defaults to 85 but can be configured via options.","output_relationships":["Each new JPEG entity has a 'derived_from' relationship pointing to its source image entity","Each source image entity receives a 'has_derivative' relationship pointing to the new JPEG entity","These two relationships are created as a single bidirectional pair (source_predicate: 'derived_from', target_predicate: 'has_derivative')","No relationships are created for source images that are already JPEG — they are skipped entirely"],"output_tree_example":"Input:\n  file 'scan.png' (entity II..abc, collection II..col1)\n\nAfter conversion:\n  file 'scan.png' (entity II..abc, unchanged)\n    └── has_derivative → file 'scan.jpg' (entity II..xyz, new, in collection II..col1)\n\n  file 'scan.jpg' (entity II..xyz)\n    └── derived_from → file 'scan.png' (entity II..abc)\n\nIf source is already JPEG:\n  file 'photo.jpg' (entity II..def) → skipped, no new entity created","status":"active"},"relationships":[{"peer":"01KFF0H1KSR4SHHDQ7T2HXQEK6","peer_type":"collection","predicate":"collection"}],"ver":8,"created_at":"2026-01-21T04:14:26.597Z","ts":"2026-01-30T02:42:30.378Z","edited_by":{"method":"manual","user_id":"01KDZS52M5F9XS0ZPZQQXGPC9A"}}