Imagens
Navegue, pesquise e marque fotos com tags. Suporta tanto pesquisa por palavra-chave quanto pesquisa semântica por IA com um modelo no dispositivo.
Definições de Tipo
type Image {
id: ID!
title: String! # filename
path: String!
size: Int! # bytes
bucketId: String! # media store bucket
createdAt: String!
updatedAt: String!
takenAt: String # EXIF capture time (nullable)
tags: [Tag!]!
}
type ImageSearchStatus {
enabled: Boolean!
indexed: Int!
total: Int!
isIndexing: Boolean!
isDownloading: Boolean!
downloadProgress: Float! # 0.0–1.0
}
enum FileSortBy {
SIZE_ASC SIZE_DESC
NAME_ASC NAME_DESC
DATE_ADDED_ASC DATE_ADDED_DESC
DATE_MODIFIED_ASC DATE_MODIFIED_DESC
}Operações
images
Pesquise imagens. Deixe a consulta vazia para listar todas. Use text:<keyword> para pesquisa semântica por IA.
query GetImages($offset: Int!, $limit: Int!, $query: String!, $sortBy: FileSortBy!) {
images(offset: $offset, limit: $limit, query: $query, sortBy: $sortBy) {
id title path size bucketId createdAt updatedAt takenAt
tags { id name }
}
}imageCount
Conte imagens correspondentes a uma consulta.
query GetImageCount($query: String!) {
imageCount(query: $query)
}imageSearchStatus
Obtenha o status atual de indexação da pesquisa semântica por IA.
query GetImageSearchStatus {
imageSearchStatus {
enabled indexed total isIndexing isDownloading downloadProgress
}
}enableImageSearch
Habilite a pesquisa semântica de imagens por IA. Baixa o modelo no dispositivo se ainda não estiver presente.
mutation EnableImageSearch {
enableImageSearch
}disableImageSearch
Desabilite a pesquisa semântica de imagens por IA e libere recursos.
mutation DisableImageSearch {
disableImageSearch
}cancelImageModelDownload
Cancele o download do modelo de IA em andamento.
mutation CancelImageModelDownload {
cancelImageModelDownload
}startImageIndex
Comece a indexar imagens para pesquisa por IA. Passe force=true para reindexar tudo.
mutation StartImageIndex($force: Boolean) {
startImageIndex(force: $force)
}cancelImageIndex
Cancele o processo de indexação em execução.
mutation CancelImageIndex {
cancelImageIndex
}